org.daisy.zedval.engine
Class ApplicationErrMsg
java.lang.Object
org.daisy.zedval.engine.ZedMessage
org.daisy.zedval.engine.ErrorMessage
org.daisy.zedval.engine.ApplicationErrMsg
- public class ApplicationErrMsg
- extends ErrorMessage
An ApplicationErrMsg object represents an error message from
the ZedVal application
- Author:
- James Pritchett
|
Constructor Summary |
ApplicationErrMsg(java.lang.String details,
java.lang.String lang,
boolean fatal,
java.lang.String context)
|
|
Method Summary |
java.lang.String |
getContext()
Identifies context of the error |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApplicationErrMsg
public ApplicationErrMsg(java.lang.String details,
java.lang.String lang,
boolean fatal,
java.lang.String context)
- Parameters:
details - Any extended details about the messagelang - The language of the messagefatal - Is this a fatal error?context - Description of application context where error occurred
getContext
public java.lang.String getContext()
- Identifies context of the error
- Returns:
- Error context information
toString
public java.lang.String toString()
- Overrides:
toString in class ErrorMessage