org.spicefactory.cinnamon.io.mapping
Class ClassMappingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.spicefactory.cinnamon.io.mapping.ClassMappingException
All Implemented Interfaces:
Serializable

public class ClassMappingException
extends RuntimeException

Exception thrown when an error occurs while processing a class mapping. This may include illegal mapping configurations, illegal AMF3 data for mapped objects or IOExceptions thrown while encoding/decoding a mapped object.

Author:
Jens Halm
See Also:
Serialized Form

Constructor Summary
ClassMappingException(String message)
          Creates a new ClassMappingException.
ClassMappingException(String message, Throwable cause)
          Creates a new ClassMappingException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassMappingException

public ClassMappingException(String message,
                             Throwable cause)
Creates a new ClassMappingException.

Parameters:
message - the error message
cause - the cause of the error

ClassMappingException

public ClassMappingException(String message)
Creates a new ClassMappingException.

Parameters:
message - the error message