Package com.primavera
Class ServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.primavera.PrimaveraException
com.primavera.ServerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PhoenixException
Base class for all server-side exceptions
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServerException(String strMessage) Class constructor specifying a detailed message.ServerException(String strMessage, Throwable thE) Class constructor specifying a detailed message and the original thrown exception. -
Method Summary
Methods inherited from class com.primavera.PrimaveraException
getOriginalException, getStackTrace, getStackTrace, isSQLExceptionThrown, printStackTrace, printStackTrace, printStackTrace, removeOriginalExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ServerException
Class constructor specifying a detailed message and the original thrown exception.- Parameters:
strMessage- the detailed message of this exceptionthE- the originally thrown exception
-
ServerException
Class constructor specifying a detailed message.- Parameters:
strMessage- the message of this exception
-
-
Method Details
-
getSource
Gets the source for this exception, if any. For BatchExceptions, the source will be an Integer representing the index of the business object for which an exception occurred.- Returns:
- the source object
-
setSource
Sets the source for this exception. For BatchExceptions, the source will be an Integer representing the index of the business object for which an exception occurred.- Parameters:
obj- the source object
-