ErrorDefinition Class

Definition

Error description and code explaining why resource name is invalid.

public class ErrorDefinition
Inheritance
java.lang.Object
ErrorDefinition

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

ErrorDefinition()

Methods

code()

Get code of the error.

message()

Get description of the error.

withCode(String code)

Set code of the error.

withMessage(String message)

Set description of the error.

Applies to