com.mcdermottroe.exemplar.input
Class InputException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.mcdermottroe.exemplar.Exception
              extended by com.mcdermottroe.exemplar.input.InputException
All Implemented Interfaces:
Copyable<Exception>, Serializable, Comparable<Exception>

public class InputException
extends Exception

An exception that can be thrown in response to any error in the input phase of the program.

Since:
0.1
See Also:
Serialized Form

Constructor Summary
InputException()
          InputException without a description.
InputException(String message)
          InputException with a description.
InputException(String message, Throwable cause)
          InputException with a description and a reference to an exception which caused it.
InputException(Throwable cause)
          InputException with a reference to the exception that caused it.
 
Method Summary
 InputException getCopy()
          Creates a deep copy of the current object and returns it.
 
Methods inherited from class com.mcdermottroe.exemplar.Exception
compareTo, copyStackTrace, equals, getBackTrace, hashCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputException

public InputException()
InputException without a description.


InputException

public InputException(String message)
InputException with a description.

Parameters:
message - The description of the exception.

InputException

public InputException(String message,
                      Throwable cause)
InputException with a description and a reference to an exception which caused it.

Parameters:
message - The description of the exception.
cause - The cause of the exception.

InputException

public InputException(Throwable cause)
InputException with a reference to the exception that caused it.

Parameters:
cause - The cause of the exception.
Method Detail

getCopy

public InputException getCopy()
Creates a deep copy of the current object and returns it.

Returns:
A deep copy of the current object.