Package com.atlan.model.core
Class AtlanError
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.core.AtlanError
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails about an underlying cause for an error.Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanfindCode()Find the code within the error.Find the message within the error.Underlying causes noted for the error, if any.getCode()A numeric error code.getDoc()URL to documentation describing the error in more detail.Unique identifier (could be placeholder negative number, not necessarily resolved) of the asset on which the error occurred.getError()A human-readable suggestion on resolving the error.A human-readable explanation of what caused the error.A short string indicating the error code reported.A human-readable description providing more details about the error.Details about where the error occurred.Unique ID for the error (from the back-end).A human-readable message providing more details about the error.getInfo()TBCA human-readable message providing more details about the error.TBCTBCResponse code for unauthorized calls.getUrl()Path attempted to access for an unauthorized call.inthashCode()Retrieve the underlying causes as a JSON string.voidA numeric error code.voidsetErrorMessage(String errorMessage) A human-readable message providing more details about the error.toString()Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
AtlanError
public AtlanError()
-
-
Method Details
-
findCode
Find the code within the error.- Returns:
- the code
-
findMessage
Find the message within the error.- Returns:
- the message
-
renderCauses
Retrieve the underlying causes as a JSON string.- Returns:
- the underlying causes of the error as a JSON string.
-
getCode
A numeric error code. -
getErrorCode
A short string indicating the error code reported. -
getErrorMessage
A human-readable message providing more details about the error. -
getErrorDescription
A human-readable description providing more details about the error. -
getErrorCause
A human-readable explanation of what caused the error. -
getErrorId
Unique ID for the error (from the back-end). -
getMessage
A human-readable message providing more details about the error. -
getError
A human-readable suggestion on resolving the error. -
getEntityGuid
Unique identifier (could be placeholder negative number, not necessarily resolved) of the asset on which the error occurred. -
getRequestId
TBC -
getInfo
TBC -
getErrorDetailsMap
Details about where the error occurred. -
getServlet
TBC -
getStatus
Response code for unauthorized calls. -
getUrl
Path attempted to access for an unauthorized call. -
getDoc
URL to documentation describing the error in more detail. -
getCauses
Underlying causes noted for the error, if any. -
equals
- Overrides:
equalsin classAtlanObject
-
canEqual
- Overrides:
canEqualin classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanObject
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAtlanObject
-
setCode
A numeric error code. -
setErrorMessage
A human-readable message providing more details about the error.
-