de.smartics.exceptions.test.dummy
Class DummyCoreException

Package class diagram package DummyCoreException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.smartics.exceptions.AbstractCoreException
              extended by de.smartics.exceptions.test.dummy.DummyCoreException
All Implemented Interfaces:
CoreException, Serializable

public class DummyCoreException
     
     
extends AbstractCoreException

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.AbstractCoreException
info
 
Constructor Summary
DummyCoreException(Code code)
          Constructor.
DummyCoreException(String message, Code code)
          Constructor.
DummyCoreException(String message, Throwable cause, Code code)
          Constructor.
DummyCoreException(Throwable cause, Code code)
          Constructor.
 
Method Summary
 
Methods inherited from class de.smartics.exceptions.AbstractCoreException
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

DummyCoreException

public DummyCoreException(Code code)
Constructor.

Parameters:
code - the error or exception code of the exception.
See Also:
AbstractCoreException.AbstractCoreException(de.smartics.exceptions.core.Code)

DummyCoreException

public DummyCoreException(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)

DummyCoreException

public DummyCoreException(Throwable cause,
                          Code code)
Constructor.

Parameters:
cause - the cause (which is saved for later retrieval by the AbstractCoreException.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)

DummyCoreException

public DummyCoreException(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 AbstractCoreException.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.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.