org.extex.core.exception
Class NotObservableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.extex.core.exception.GeneralException
              extended by org.extex.core.exception.NotObservableException
All Implemented Interfaces:
java.io.Serializable

public class NotObservableException
extends GeneralException

This Exception is thrown when an Observer for a non-observable action is requested to be registered.

Version:
$Revision:5417 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
NotObservableException(java.lang.String message)
          Create a new object.
NotObservableException(java.lang.String message, java.lang.Throwable cause)
          Create a new object.
NotObservableException(java.lang.Throwable cause)
          Create a new object.
 
Method Summary
 java.lang.String getLocalizedMessage()
          Provides the message for this Exception.
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 
Methods inherited from class org.extex.core.exception.GeneralException
getHelp, getLocalizer, isProcessed, setProcessed
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

NotObservableException

public NotObservableException(java.lang.String message)
Create a new object.

Parameters:
message - the message

NotObservableException

public NotObservableException(java.lang.String message,
                              java.lang.Throwable cause)
Create a new object.

Parameters:
message - the message
cause - the chained throwable

NotObservableException

public NotObservableException(java.lang.Throwable cause)
Create a new object.

Parameters:
cause - the cause for this exception
Method Detail

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Provides the message for this Exception.

Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
the message for this exception
See Also:
Throwable.getLocalizedMessage()

getMessage

public java.lang.String getMessage()
Returns the detail message string of this throwable.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string of this Throwable instance (which may be null).
See Also:
Throwable.getMessage()