rescuecore
Class UnknownTypeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--rescuecore.UnknownTypeException
All Implemented Interfaces:
java.io.Serializable

public class UnknownTypeException
extends java.lang.Exception

An exception to be thrown whenever we encounter an unknown type of object

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
UnknownTypeException(int type)
          Construct a new exception based on the given unknown type
UnknownTypeException(int type, int index)
          Construct a new exception based on the given unknown type
UnknownTypeException(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

UnknownTypeException

public UnknownTypeException(int type)
Construct a new exception based on the given unknown type

Parameters:
type - The unknown type causing problems

UnknownTypeException

public UnknownTypeException(int type,
                            int index)
Construct a new exception based on the given unknown type

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

UnknownTypeException

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

Parameters:
s - The error message