Package org.pipservices3.commons.errors
Class ErrorCategory
java.lang.Object
org.pipservices3.commons.errors.ErrorCategory
Defines standard error categories to application exceptions
supported by PipServices toolkit.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Errors due to improper user requests, like missing or wrong parametersstatic final String
Errors raised by conflicts between object versions that were posted by the user and those that are stored on the server.static final String
Errors returned by remote services or network during call attemptsstatic final String
Errors in read/write file operationsstatic final String
Internal errors caused by programming mistakesstatic final String
Errors related to operations called in wrong component state.static final String
Errors related to mistakes in user-defined configurationstatic final String
Errors caused by remote calls timeouted and not returning results.static final String
Error caused by attempt to access missing objectstatic final String
Access errors caused by missing user identity (authentication error) or incorrect security permissions (authorization error).static final String
Unknown or unexpected errorsstatic final String
Errors caused by calls to unsupported or not yet implemented functionality -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
Unknown
Unknown or unexpected errors- See Also:
-
Internal
Internal errors caused by programming mistakes- See Also:
-
Misconfiguration
Errors related to mistakes in user-defined configuration- See Also:
-
InvalidState
Errors related to operations called in wrong component state. For instance, business calls when component is not ready- See Also:
-
NoResponse
Errors caused by remote calls timeouted and not returning results. It allows to clearly separate communication related problems from other application errors.- See Also:
-
FailedInvocation
Errors returned by remote services or network during call attempts- See Also:
-
FileError
Errors in read/write file operations- See Also:
-
BadRequest
Errors due to improper user requests, like missing or wrong parameters- See Also:
-
Unauthorized
Access errors caused by missing user identity (authentication error) or incorrect security permissions (authorization error).- See Also:
-
NotFound
Error caused by attempt to access missing object- See Also:
-
Conflict
Errors raised by conflicts between object versions that were posted by the user and those that are stored on the server.- See Also:
-
Unsupported
Errors caused by calls to unsupported or not yet implemented functionality- See Also:
-
-
Constructor Details
-
ErrorCategory
public ErrorCategory()
-