@Extensible public class EndpointException extends java.lang.Exception
Exception
which is used to indicate
an error when interfacing with an external resource. There is an included
PostStepResult
which can be used to communicate back to the
Data Sync Server what it should do after a failure.Constructor and Description |
---|
EndpointException(LDAPException cause)
Creates a new EndpointException with the provided information.
|
EndpointException(PostStepResult result)
Creates a new EndpointException with the provided information.
|
EndpointException(PostStepResult result,
java.lang.String message)
Creates a new EndpointException with the provided information.
|
EndpointException(PostStepResult result,
java.lang.String message,
java.lang.Throwable cause)
Creates a new EndpointException with the provided information.
|
EndpointException(PostStepResult result,
java.lang.Throwable cause)
Creates a new EndpointException with the provided information.
|
Modifier and Type | Method and Description |
---|---|
PostStepResult |
getPostStepResult()
Gets the result object which indicates how the Data Sync Server
should proceed with the sync operation.
|
public EndpointException(PostStepResult result)
result
- The result object which indicates how the
Data Sync Server should proceed with the sync
operation. The value of PostStepResult.CONTINUE
is undefined in this context and cannot be used.public EndpointException(PostStepResult result, java.lang.String message)
result
- The result object which indicates how the
Data Sync Server should proceed with the sync
operation. The value of PostStepResult.CONTINUE
is undefined in this context and cannot be used.message
- The message that explains the problem that occurred.public EndpointException(PostStepResult result, java.lang.Throwable cause)
result
- The result object which indicates how the
Data Sync Server should proceed with the sync
operation. The value of PostStepResult.CONTINUE
is undefined in this context and cannot be used.cause
- The underlying cause that triggered this exception.public EndpointException(PostStepResult result, java.lang.String message, java.lang.Throwable cause)
result
- The result object which indicates how the
Data Sync Server should proceed with the sync
operation. The value of PostStepResult.CONTINUE
is undefined in this context and cannot be used.message
- The message that explains the problem that occurred.cause
- The underlying cause that triggered this exception.public EndpointException(LDAPException cause)
LDAPException
.cause
- The underlying cause that triggered this exception.public final PostStepResult getPostStepResult()
PostStepResult.CONTINUE
, because this is undefined in this context.
If the object was constructed with
EndpointException(LDAPException)
then this method will return
null.PostStepResult
indicating the retry policy that should
be taken