de.smartics.exceptions.test.dummy
Class DummyCoreRuntimeException

Package class diagram package DummyCoreRuntimeException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.exceptions.AbstractCoreRuntimeException
                  extended by 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

Field Summary
 
Fields inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
info
 
Constructor Summary
DummyCoreRuntimeException(Code code)
          Constructor.
DummyCoreRuntimeException(String message, Code code)
          Constructor.
DummyCoreRuntimeException(String message, Throwable cause, Code code)
          Constructor.
DummyCoreRuntimeException(Throwable cause, Code code)
          Constructor.
 
Method Summary
 
Methods inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
getCause, getCode, getId, getTime, toString, truncateCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.smartics.exceptions.CoreException
getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 

Constructor Detail

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.