com.mcdermottroe.exemplar.ui
Class MessageException

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

public class MessageException
extends Exception

An exception that can be thrown in response to an error in the process of localising the program.

Since:
0.1
See Also:
Serialized Form

Constructor Summary
MessageException()
          MessageException without a description.
MessageException(String message)
          MessageException with a description.
MessageException(String message, Throwable cause)
          MessageException with a description and a reference to an exception which caused it.
MessageException(Throwable cause)
          MessageException with a reference to the exception that caused it.
 
Method Summary
 MessageException 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

MessageException

public MessageException()
MessageException without a description.


MessageException

public MessageException(String message)
MessageException with a description.

Parameters:
message - The description of the exception.

MessageException

public MessageException(String message,
                        Throwable cause)
MessageException 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.

MessageException

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

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

getCopy

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

Returns:
A deep copy of the current object.