org.addsimplicity.anicetus.io
Class MissingPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.addsimplicity.anicetus.io.MissingPropertyException
All Implemented Interfaces:
java.io.Serializable

public class MissingPropertyException
extends java.lang.RuntimeException

The missing property exception occurs when a json string maps to a java object and a property in the json string is not settable on the object. It is non-fatal.

Author:
Dan Pritchett (driveawedge@yahoo.com)
See Also:
Serialized Form

Constructor Summary
MissingPropertyException()
          Construct an empty exception.
MissingPropertyException(java.lang.String message)
          Construct a message with the specified string.
MissingPropertyException(java.lang.String name, java.lang.Object type)
          Construct an exception given the missing property name and the type.
MissingPropertyException(java.lang.String message, java.lang.Throwable cause)
          Construct an exception with the specified message and cause exception.
MissingPropertyException(java.lang.Throwable cause)
          Construct a message with the specified cause.
 
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

MissingPropertyException

public MissingPropertyException()
Construct an empty exception.


MissingPropertyException

public MissingPropertyException(java.lang.String message)
Construct a message with the specified string.

Parameters:
message - The message string.

MissingPropertyException

public MissingPropertyException(java.lang.String name,
                                java.lang.Object type)
Construct an exception given the missing property name and the type.

Parameters:
name - The name of the property.
type - The object type.

MissingPropertyException

public MissingPropertyException(java.lang.String message,
                                java.lang.Throwable cause)
Construct an exception with the specified message and cause exception.

Parameters:
message - The exception message.
cause - The triggering exception.

MissingPropertyException

public MissingPropertyException(java.lang.Throwable cause)
Construct a message with the specified cause.

Parameters:
cause - The triggering exception.


Copyright © 2009 Add Simplicity. All Rights Reserved.