org.extex.interpreter.max.exception
Class NoTokenStreamFactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.extex.framework.configuration.exception.ConfigurationException
                  extended by org.extex.interpreter.max.exception.NoTokenStreamFactoryException
All Implemented Interfaces:
java.io.Serializable

public class NoTokenStreamFactoryException
extends ConfigurationException

This Exception is thrown when a TokenStreamFactory is needed but none is found.

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

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
NoTokenStreamFactoryException(java.lang.String aMessage)
          Create a new object.
 
Method Summary
 java.lang.String getLocalizedMessage()
          Getter for the localized message of this Exception.
 
Methods inherited from class org.extex.framework.configuration.exception.ConfigurationException
getLocalizer, getSource, getText
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

NoTokenStreamFactoryException

public NoTokenStreamFactoryException(java.lang.String aMessage)
Create a new object.

Parameters:
aMessage - the message string
Method Detail

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Getter for the localized message of this Exception. The text is taken from the resource bundle ConfigurationEception The key depends on the further information present:

ConfigurationException.FormatCauseMessageLocation is used when a cause, a message, and a location are present. The arguments {1}, {2}, and {3} are set respectively.

ConfigurationException.FormatCauseLocation is used when a cause and a location are present. The arguments {1} and {2} are set respectively.

ConfigurationException.FormatCauseMessage is used when a cause and a message are present. The arguments {1} and {2} are set respectively.

ConfigurationException.FormatCause is used when a cause is present. The argument {1} is set respectively.

ConfigurationException.FormatMessageLocation is used when a message and a location are present. The arguments {1} and {2} are set respectively.

ConfigurationException.FormatMessage is used when a message is present. The argument {1} is set respectively.

ConfigurationException.FormatLocation is used when a location is present. The argument {1} is set respectively.

The arguments {0} is always replaced by the text from getText().

Overrides:
getLocalizedMessage in class ConfigurationException
Returns:
the message
See Also:
ConfigurationException.getLocalizedMessage()