rescuecore
Class UnknownPropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byrescuecore.UnknownPropertyException
All Implemented Interfaces:
java.io.Serializable

public class UnknownPropertyException
extends java.lang.Exception

An exception to be thrown whenever an object encounters an unknown property

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
UnknownPropertyException(int property)
          Construct a new exception based on the given unknown property
UnknownPropertyException(int property, int index)
          Construct a new exception based on the given unknown property
UnknownPropertyException(java.lang.String s)
          Construct a new exception with a given error message
 
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

UnknownPropertyException

public UnknownPropertyException(int property)
Construct a new exception based on the given unknown property

Parameters:
property - The unknown property causing problems

UnknownPropertyException

public UnknownPropertyException(int property,
                                int index)
Construct a new exception based on the given unknown property

Parameters:
property - The unknown property causing problems
index - The index into a buffer where the problem occurred;

UnknownPropertyException

public UnknownPropertyException(java.lang.String s)
Construct a new exception with a given error message

Parameters:
s - The error message