Class ServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.priint.pubserver.exception.PubServerException
-
- com.priint.pubserver.plannerapi.exceptions.ServiceException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceException extends PubServerException
Exception if a service method fails with no remedy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceException(java.lang.String message, java.lang.Throwable cause)ConstructorServiceException(java.lang.String message, java.lang.Throwable cause, int errorCode, java.lang.Object caller)Constructor
-
Method Summary
-
Methods inherited from class com.priint.pubserver.exception.PubServerException
getCode, getErrorCodeInfo, getErrorsStack, getExceptionsStack, getFormattedMessage, getFormattedMessageTrace, getMessageStack, getModule, getParameters, retrieveErrorCodeInfo, retrieveErrorsStack
-
-
-
-
Constructor Detail
-
ServiceException
public ServiceException(java.lang.String message, java.lang.Throwable cause, int errorCode, java.lang.Object caller)Constructor- Parameters:
message- short textual error message, possibly containing some identifying object datacause- (optional) original exception leading to this one ornullerrorCode- Global unique code error number for every exception in our systemcaller- Object that creates this exception. Object class name will be used as name of the module that created this exception. If caller is of type String the string itself will be used as module name (long strings might be truncated).
-
ServiceException
public ServiceException(java.lang.String message, java.lang.Throwable cause)Constructor- Parameters:
message- short textual error message, possibly containing some identifying object datacause- (optional) original exception leading to this one ornull
-
-