complexMapping
Class ComplexMappingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Field Summary
static int BAD_METHOD_CALL
           
static int BAD_PARAMETER
           
static int CREATION_EXCEPTION
           
static int IO_EXCEPTION
           
static int MAPPING_EXCEPTION
           
static int MMATCH_EXCEPTION
           
static int REASONER_EXCEPTION
           
 
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
 

Field Detail

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
Constructor Detail

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 -
Method Detail

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