public class ServiceException extends PRRuntimeException
throws.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
FAIL_MAPPING |
static java.lang.String |
FAIL_SECURITY |
static java.lang.String |
FAIL_SERVICE |
static java.lang.String |
FAILURE_DETAIL_REQUESTOR_EXPIRED |
static java.lang.String |
VERSION |
| Constructor and Description |
|---|
ServiceException()
Default constructor with no message.
|
ServiceException(java.lang.String aMessage)
Constructor with a message.
|
ServiceException(java.lang.String aMessage,
java.lang.String aErrorType)
Constructor with a message and the name of an error handler flow.
|
ServiceException(java.lang.String aMessage,
java.lang.String aErrorType,
java.lang.String aFailureDetail) |
ServiceException(java.lang.String aMessage,
java.lang.String aErrorType,
java.lang.Throwable aCause)
Constructor with a message, an error handler, and a cause.
|
ServiceException(java.lang.String aMessage,
java.lang.String aErrorType,
java.lang.Throwable aCause,
java.lang.String aFailureDetail) |
ServiceException(java.lang.String aMessage,
java.lang.Throwable aCause)
Constructor with a message and a cause.
|
ServiceException(java.lang.Throwable aCause)
Constructor with a root cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorType()
Get the name of the flow that the flow harness will use to handle
the connection failure.
|
java.lang.String |
getFailureDetail() |
void |
setErrorType(java.lang.String aErrorType)
Set the name of the flow that the flow harness will use to handle
the connection failure.
|
void |
setFailureDetail(java.lang.String aFailureDetail) |
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public static final java.lang.String FAIL_SERVICE
public static final java.lang.String FAIL_SECURITY
public static final java.lang.String FAIL_MAPPING
public static final java.lang.String FAILURE_DETAIL_REQUESTOR_EXPIRED
public ServiceException()
public ServiceException(java.lang.String aMessage)
aMessage - key to a Rule-Message instance, or simply
a message. If it isn't a Rule-Message key, an instance may
be written to Log-UndefinedMessages
(see ProcessingStatus.logMissingMessages()).public ServiceException(java.lang.Throwable aCause)
aCause - the Throwable that caused this exceptionpublic ServiceException(java.lang.String aMessage,
java.lang.Throwable aCause)
aMessage - key to a Rule-Message instance, or simply
a message. If it isn't a Rule-Message key, an instance may
be written to Log-UndefinedMessages
(see ProcessingStatus.logMissingMessages()).aCause - the Throwable that caused this exceptionpublic ServiceException(java.lang.String aMessage,
java.lang.String aErrorType)
aMessage - to a Rule-Message instance, or simply
a message. If it isn't a Rule-Message key, an instance may
be written to Log-UndefinedMessages
(see ProcessingStatus.logMissingMessages()).aErrorType - key to a Rule-Obj-Flow instance that will handle
the exception when the connector rule is invoked from a flowpublic ServiceException(java.lang.String aMessage,
java.lang.String aErrorType,
java.lang.String aFailureDetail)
public ServiceException(java.lang.String aMessage,
java.lang.String aErrorType,
java.lang.Throwable aCause)
aMessage - key to a Rule-Message instance, or simply
a message. If it isn't a Rule-Message key, an instance may
be written to Log-UndefinedMessages
(see ProcessingStatus.logMissingMessages()).aErrorType - key to a Rule-Obj-Flow instance that will handle
the exception when the connector rule is invoked from a flowaCause - the Throwable that caused this exceptionpublic ServiceException(java.lang.String aMessage,
java.lang.String aErrorType,
java.lang.Throwable aCause,
java.lang.String aFailureDetail)
public void setErrorType(java.lang.String aErrorType)
aErrorType - public void setFailureDetail(java.lang.String aFailureDetail)
public java.lang.String getErrorType()
public java.lang.String getFailureDetail()
Copyright © 2014 Pegasystems Inc. All Rights Reserved.