public class ServerException extends PrimaveraException
Constructor and Description |
---|
ServerException(String strMessage)
Class constructor specifying a detailed message.
|
ServerException(String strMessage,
Throwable thE)
Class constructor specifying a detailed message and the original thrown exception.
|
Modifier and Type | Method and Description |
---|---|
Object |
getSource()
Gets the source for this exception, if any.
|
void |
setSource(Object obj)
Sets the source for this exception.
|
getOriginalException, getStackTrace, getStackTrace, isSQLExceptionThrown, printStackTrace, printStackTrace, printStackTrace, removeOriginalException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace, toString
public ServerException(String strMessage, Throwable thE)
strMessage
- the detailed message of this exceptionthE
- the originally thrown exceptionpublic ServerException(String strMessage)
strMessage
- the message of this exceptionpublic Object getSource()
public void setSource(Object obj)
obj
- the source objectCopyright © 2003, 2024, Oracle and/or its affiliates.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.