complexMapping
Class ComplexMappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
complexMapping.ComplexMappingException
- All Implemented Interfaces:
- java.io.Serializable
public class ComplexMappingException
- extends java.lang.Exception
- Author:
- Dominique Ritze
Class to create exceptions which can be thrown if an exception occurs during the
matching process.
Helps to get better information why an exception was thrown.
- See Also:
- Serialized Form
Constructor Summary |
ComplexMappingException(int descriptionId,
java.lang.String description)
Constructor without a parent exception. |
ComplexMappingException(int descriptionId,
java.lang.String description,
java.lang.Exception parentException)
Constructor with a parent exception. |
Method Summary |
java.lang.String |
toString()
Print the exception with additional information and the parent exception if available. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BAD_PARAMETER
public static final int BAD_PARAMETER
- See Also:
- Constant Field Values
BAD_METHOD_CALL
public static final int BAD_METHOD_CALL
- See Also:
- Constant Field Values
CREATION_EXCEPTION
public static final int CREATION_EXCEPTION
- See Also:
- Constant Field Values
REASONER_EXCEPTION
public static final int REASONER_EXCEPTION
- See Also:
- Constant Field Values
IO_EXCEPTION
public static final int IO_EXCEPTION
- See Also:
- Constant Field Values
MAPPING_EXCEPTION
public static final int MAPPING_EXCEPTION
- See Also:
- Constant Field Values
MMATCH_EXCEPTION
public static final int MMATCH_EXCEPTION
- See Also:
- Constant Field Values
ComplexMappingException
public ComplexMappingException(int descriptionId,
java.lang.String description,
java.lang.Exception parentException)
- Constructor with a parent exception.
- Parameters:
descriptionId
- description
- parentException
-
ComplexMappingException
public ComplexMappingException(int descriptionId,
java.lang.String description)
- Constructor without a parent exception.
- Parameters:
descriptionId
- description
-
toString
public java.lang.String toString()
- Print the exception with additional information and the parent exception if available.
- Overrides:
toString
in class java.lang.Throwable