public class InvalidRequestException extends ConnectorException
1. During any operation when the connector is creating messages to be sent to the managed system, but it fails to create a message. This could happen before sending a request to the managed system.for e.g. a) Due to malformed provisioning policy the connector fails to create a message to be broadcast to the managed system.
2. This is intended for cases in which the client (to the managed system) seems to have erred. The request could not be understood by the managed system due to malformed syntax of the request message. This could take place while executing a request along the target managed system. for e.g. a) During any operation when the connector receives known exception/error 'Bad Request' from the managed system.
| Constructor and Description |
|---|
InvalidRequestException()
Construct a new InvalidRequestException with a detailed message.
|
InvalidRequestException(Message message)
Construct a new InvalidRequestException with a detailed message.
|
InvalidRequestException(Message message,
java.lang.Throwable cause)
Create a new InvalidRequestException from an existing exception and
object Message.
|
InvalidRequestException(java.lang.String message)
Construct a new InvalidRequestException with a detailed message.
|
InvalidRequestException(java.lang.String error,
java.lang.String suggestion,
java.lang.Throwable t)
Create a new InvalidRequestException from an error text, suggestion text
and existing exception.
|
InvalidRequestException(java.lang.String message,
java.lang.Throwable t)
Create a new InvalidRequestException from an existing exception.
|
getDetailedError, getLocalizedMessage, getMessage, getMessageInstance, getPossibleSuggestion, setDetailedError, setDetailedError, setLocalizedMessage, setPossibleSuggestion, setPossibleSuggestionpublic InvalidRequestException()
public InvalidRequestException(java.lang.String message)
message - detail messagepublic InvalidRequestException(Message message)
message - detailed Message object.public InvalidRequestException(java.lang.String message,
java.lang.Throwable t)
The existing exception will be embedded in the new one, but the new exception will have its own message.
public InvalidRequestException(Message message,
java.lang.Throwable cause)
message - detailed message with type Message.cause - Throwable exception.public InvalidRequestException(java.lang.String error,
java.lang.String suggestion,
java.lang.Throwable t)
The error and suggestion being set here is used later to prepare well formatted exception message based on resource bundle key 'msg_with_suggestion' and 'msg_no_suggestion'. But all this happens lazily when openconnector exception gets converted to it's counterpart exception in sailpoint.connector.
error - ResourceBundle message key, or a plain text message containing
error details.suggestion - ResourceBundle message key, or a plain text message containing
hints to solve the error.t - Throwable object t can be provided at the time of calling
following constructor.