|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.extex.framework.configuration.exception.ConfigurationException
public abstract class ConfigurationException
This exception is thrown when a problem in the configuration has been detected.
| Constructor Summary | |
|---|---|
ConfigurationException(java.lang.String message)
Creates a new object. |
|
ConfigurationException(java.lang.String message,
java.lang.String source)
Creates a new object. |
|
ConfigurationException(java.lang.String message,
java.lang.Throwable cause)
Creates a new object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedMessage()
Getter for the localized message of this Exception. |
protected Localizer |
getLocalizer()
Getter for localizer. |
java.lang.String |
getSource()
Getter for source. |
protected java.lang.String |
getText()
Getter for the text prefix of this ConfigurationException. |
| 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 |
|---|
public ConfigurationException(java.lang.String message)
message - the message string
public ConfigurationException(java.lang.String message,
java.lang.String source)
message - the message stringsource - the name of the file causing this error
public ConfigurationException(java.lang.String message,
java.lang.Throwable cause)
message - message the message stringcause - the next Throwable in the chained list| Method Detail |
|---|
public java.lang.String getLocalizedMessage()
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().
getLocalizedMessage in class java.lang.Throwableprotected Localizer getLocalizer()
public java.lang.String getSource()
protected java.lang.String getText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||