|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.foray.ps.PsOperatorException
public class PsOperatorException
Handles Exceptions that occur during the execution of a PostScript operand.
Constructor Summary | |
---|---|
PsOperatorException(PsError errorCode)
Constructor. |
|
PsOperatorException(PsError errorCode,
PsOperator offendingOperator)
Constructor. |
|
PsOperatorException(PsError errorCode,
PsOperator offendingOperator,
String message)
Constructor. |
|
PsOperatorException(Throwable throwable,
PsError errorCode,
PsOperator offendingOperator,
String message)
Constructor. |
Method Summary | |
---|---|
protected PsError |
getErrorCode()
Returns the PostScript error code. |
String |
getMessage()
|
protected PsOperator |
getOffendingOperator()
Returns the offending operator. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 PsOperatorException(Throwable throwable, PsError errorCode, PsOperator offendingOperator, String message)
throwable
- The exception to be wrapped in this exception.errorCode
- The PS error code for this exception.offendingOperator
- The PS operator that triggered the request
that threw the exception.message
- The user message.public PsOperatorException(PsError errorCode, PsOperator offendingOperator, String message)
errorCode
- The PS error code for this exception.offendingOperator
- The PS operator that triggered the request
that threw the exception.message
- The user message.public PsOperatorException(PsError errorCode)
errorCode
- The PS error code for this exception.public PsOperatorException(PsError errorCode, PsOperator offendingOperator)
errorCode
- The PS error code for this exception.offendingOperator
- The PS operator that triggered the request
that threw the exception.Method Detail |
---|
protected PsError getErrorCode()
protected PsOperator getOffendingOperator()
public String getMessage()
getMessage
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |