|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pega.pegarules.pub.PRRuntimeException
com.pega.pegarules.pub.services.ConnectorException
public class ConnectorException
Runtime exception for connector rule failures. Exceptions of this
nature do not have to be declared with throws
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Constructor Summary | |
---|---|
ConnectorException()
Default constructor with no message. |
|
ConnectorException(java.lang.String aMessage)
Constructor with a message. |
|
ConnectorException(java.lang.String aMessage,
java.lang.String aHandler)
Constructor with a message and the name of an error handler flow. |
|
ConnectorException(java.lang.String aMessage,
java.lang.String aHandler,
java.lang.Throwable aCause)
Constructor with a message, an error handler, and a cause. |
|
ConnectorException(java.lang.String aMessage,
java.lang.Throwable aCause)
Constructor with a message and a cause. |
|
ConnectorException(java.lang.Throwable aCause)
Constructor with a root cause. |
Method Summary | |
---|---|
java.lang.String |
getHandler()
Get the name of the flow that the flow harness will use to handle the connection failure. |
void |
setHandler(java.lang.String aHandler)
Set the name of the flow that the flow harness will use to handle the connection failure. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
Constructor Detail |
---|
public ConnectorException()
public ConnectorException(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 ConnectorException(java.lang.Throwable aCause)
aCause
- the Throwable
that caused this exceptionpublic ConnectorException(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 ConnectorException(java.lang.String aMessage, java.lang.String aHandler)
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()
).aHandler
- key to a Rule-Obj-Flow instance that will handle
the exception when the connector rule is invoked from a flowpublic ConnectorException(java.lang.String aMessage, java.lang.String aHandler, 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()
).aHandler
- 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 exceptionMethod Detail |
---|
public void setHandler(java.lang.String aHandler)
aHandler
- public java.lang.String getHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |