Class ScimError
java.lang.Object
com.revetsec.scim.ScimError
A fixed SCIM error with redacted detail. No request input or exception cause is retained. An
engine-produced filter or path syntax error may carry a UTF-16 expression offset; that offset is
programmatic metadata and must not be appended to the wire detail.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the fixed expiredCursor error with no expression offset.Returns the fixed forbidden error with no expression offset.Returns the fixed redacted detail.Returns the fixed SCIM error type, when defined.Returns the zero-based UTF-16 syntax-error offset, if the engine produced one.Returns the HTTP status code.Returns the fixed internalError error with no expression offset.Returns the fixed invalidCount error with no expression offset.Returns the fixed invalidCursor error with no expression offset.Returns the fixed invalidFilter error with no expression offset.Returns the fixed invalidPath error with no expression offset.Returns the fixed invalidSyntax error with no expression offset.Returns the fixed invalidValue error with no expression offset.Returns the fixed invalidVersion error with no expression offset.Returns the fixed methodNotAllowed error with no expression offset.Returns the fixed mutability error with no expression offset.Returns the fixed noTarget error with no expression offset.Returns the fixed notFound error with no expression offset.Returns the fixed notImplemented error with no expression offset.Returns the fixed preconditionFailed error with no expression offset.Returns the fixed requestTooLarge error with no expression offset.Returns the fixed responseTooLarge error with no expression offset.Returns the fixed sensitive error with no expression offset.Returns the fixed tooMany error with no expression offset.toString()Returns a fixed redacted description.Returns the fixed unauthenticated error with no expression offset.Returns the fixed unavailable error with no expression offset.Returns the fixed uniqueness error with no expression offset.Returns the fixed unsupportedMediaType error with no expression offset.
-
Method Details
-
getStatusCode
Returns the HTTP status code.- Returns:
- the HTTP status code
- Since:
- 1.0.0
-
getErrorType
Returns the fixed SCIM error type, when defined.- Returns:
- the fixed SCIM error type, when defined
- Since:
- 1.0.0
-
getDetail
-
getExpressionOffset
Returns the zero-based UTF-16 syntax-error offset, if the engine produced one. End-of-input errors can point one unit past the final character.- Returns:
- the optional expression offset
- Since:
- 1.0.0
-
invalidFilterInstance
Returns the fixed invalidFilter error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
tooManyInstance
Returns the fixed tooMany error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
invalidSyntaxInstance
Returns the fixed invalidSyntax error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
invalidPathInstance
Returns the fixed invalidPath error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
noTargetInstance
Returns the fixed noTarget error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
invalidValueInstance
Returns the fixed invalidValue error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
mutabilityInstance
Returns the fixed mutability error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
invalidVersionInstance
Returns the fixed invalidVersion error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
invalidCursorInstance
Returns the fixed invalidCursor error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
expiredCursorInstance
Returns the fixed expiredCursor error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
invalidCountInstance
Returns the fixed invalidCount error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
uniquenessInstance
Returns the fixed uniqueness error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
sensitiveInstance
Returns the fixed sensitive error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
unauthenticatedInstance
Returns the fixed unauthenticated error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
forbiddenInstance
Returns the fixed forbidden error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
notFoundInstance
Returns the fixed notFound error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
preconditionFailedInstance
Returns the fixed preconditionFailed error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
requestTooLargeInstance
Returns the fixed requestTooLarge error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
unsupportedMediaTypeInstance
Returns the fixed unsupportedMediaType error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
methodNotAllowedInstance
Returns the fixed methodNotAllowed error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
notImplementedInstance
Returns the fixed notImplemented error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
internalErrorInstance
Returns the fixed internalError error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
responseTooLargeInstance
Returns the fixed responseTooLarge error with no expression offset.- Returns:
- the singleton error
- Since:
- 1.0.0
-
toString
-