org.extex.framework.configuration.exception
Class ConfigurationSyntaxException

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.framework.configuration.exception.ConfigurationSyntaxException
All Implemented Interfaces:
java.io.Serializable

public class ConfigurationSyntaxException
extends ConfigurationException

This Exception is thrown when a configuration contains a syntax error.

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

Constructor Summary
ConfigurationSyntaxException(java.lang.String message, java.lang.String source)
          Create a new object.
ConfigurationSyntaxException(java.lang.String message, java.lang.Throwable cause)
          Create a new object.
 
Method Summary
protected  java.lang.String getText()
          Getter for the text prefix of this Exception.
 
Methods inherited from class org.extex.framework.configuration.exception.ConfigurationException
getLocalizedMessage, getLocalizer, getSource
 
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
 

Constructor Detail

ConfigurationSyntaxException

public ConfigurationSyntaxException(java.lang.String message,
                                    java.lang.String source)
Create a new object.

Parameters:
message - the message string
source - the source of the exception

ConfigurationSyntaxException

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

Parameters:
message - message the message string
cause - the next Throwable in the list
Method Detail

getText

protected java.lang.String getText()
Getter for the text prefix of this Exception. The text is taken from the resource bundle ConfigurationEception under the key ConfigurationSyntaxException.Text.

Overrides:
getText in class ConfigurationException
Returns:
the text