Package com.redhat.cloud.event.core.v1
Class ErrorClass
java.lang.Object
com.redhat.cloud.event.core.v1.ErrorClass
An error reported by an application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Machine-readable error code that identifies the error.Human readable description of the error.The severity of the error.The stack trace/traceback (optional)void
void
setMessage
(String value) void
setSeverity
(Severity value) void
setStackTrace
(String value)
-
Constructor Details
-
ErrorClass
public ErrorClass()
-
-
Method Details
-
getCode
Machine-readable error code that identifies the error. -
setCode
-
getMessage
Human readable description of the error. -
setMessage
-
getSeverity
The severity of the error. -
setSeverity
-
getStackTrace
The stack trace/traceback (optional) -
setStackTrace
-