de.smartics.exceptions.test.dummy
Class DummyCoreRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.smartics.exceptions.AbstractCoreRuntimeException
de.smartics.exceptions.test.dummy.DummyCoreRuntimeException
-
All Implemented Interfaces:
-
CoreException,
Serializable
-
public class DummyCoreRuntimeException
-
extends
AbstractCoreRuntimeException
Dummy implementation to test the implementation of the abstract super class.
-
Author:
-
Robert Reiner
-
See Also:
-
Serialized Form
DummyCoreRuntimeException
public DummyCoreRuntimeException(Code code)
-
Constructor.
-
Parameters:
-
code
- the error or exception code of the exception.
-
See Also:
-
AbstractCoreException.AbstractCoreException(de.smartics.exceptions.core.Code)
DummyCoreRuntimeException
public DummyCoreRuntimeException(String message,
Code code)
-
Constructor.
-
Parameters:
-
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method). Only used if there is no localized message in the bundle.
-
code
- the error or exception code of the exception.
-
See Also:
-
AbstractCoreException.AbstractCoreException(java.lang.String, de.smartics.exceptions.core.Code)
DummyCoreRuntimeException
public DummyCoreRuntimeException(Throwable cause,
Code code)
-
Constructor.
-
Parameters:
-
cause
- the cause (which is saved for later retrieval by the
AbstractCoreRuntimeException.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
code
- the error or exception code of the exception.
-
See Also:
-
AbstractCoreException.AbstractCoreException(java.lang.Throwable, de.smartics.exceptions.core.Code)
DummyCoreRuntimeException
public DummyCoreRuntimeException(String message,
Throwable cause,
Code code)
throws NullPointerException
-
Constructor.
-
Parameters:
-
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method). Only used if there is no localized message in the bundle.
-
cause
- the cause (which is saved for later retrieval by the
AbstractCoreRuntimeException.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
code
- the error or exception code of the exception.
-
See Also:
-
AbstractCoreRuntimeException.AbstractCoreRuntimeException(java.lang.String, java.lang.Throwable, de.smartics.exceptions.core.Code)
-
Throws:
-
NullPointerException
- if the code is
null
.
Copyright © 2007-$2011
Kronseder & Reiner GmbH - smartics. All Rights Reserved.