public class ConnectorException extends PRRuntimeException
throws
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
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 exceptionpublic void setHandler(java.lang.String aHandler)
aHandler
- public java.lang.String getHandler()
Copyright © 2015 Pegasystems Inc. All Rights Reserved.