edu.neu.ccs.util
Class JPTError
java.lang.Object
java.lang.Throwable
java.lang.Error
edu.neu.ccs.util.JPTError
- All Implemented Interfaces:
- ConsoleAware, Serializable
- public class JPTError
- extends Error
- implements ConsoleAware
An error thrown in the JPT that indicates
a programming problem rather than a user or system error,
which should not need to be caught
within an application or applet.
In the debug state, a JPTError
is handled automatically by the toolkit
and is presented to the programmer
to signal that a grave programming error
has occurred in the running program.
- Since:
- 1.0
- Version:
- 2.2
- See Also:
JPTUtilities.setDebugMode(boolean),
JPTUtilities.isDebugModeSet(),
Serialized Form
| Fields inherited from class java.lang.Error |
|
| Fields inherited from class java.lang.Throwable |
|
|
Constructor Summary |
JPTError()
Constructor for an error
with no detail message. |
JPTError(String errorMessage)
Constructor for an error
with the given detail message. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JPTError
public JPTError()
- Constructor for an error
with no detail message.
- See Also:
JPTError(String)
JPTError
public JPTError(String errorMessage)
- Constructor for an error
with the given detail message.
- Parameters:
errorMessage - the detail message for the error- See Also:
JPTError()