ErrorDetails

Inheritance: java.lang.Object

public class ErrorDetails

Error informnation

Constructors

Constructor Description
ErrorDetails() Initializes a new instance of the ErrorDetails class.
ErrorDetails(String domain, String reason) Initializes a new instance of the ErrorDetails class.

Methods

Method Description
getDomain() Domain, or broad category, of the error.
setDomain(String value) Domain, or broad category, of the error.
getReason() Specific reason for the error.
setReason(String value) Specific reason for the error.
toString() Returns a String which represents the object instance.

ErrorDetails()

public ErrorDetails()

Initializes a new instance of the ErrorDetails class.

ErrorDetails(String domain, String reason)

public ErrorDetails(String domain, String reason)

Initializes a new instance of the ErrorDetails class.

Parameters:

Parameter Type Description
domain java.lang.String Domain, or broad category, of the error.
reason java.lang.String Specific reason for the error.

getDomain()

public final String getDomain()

Domain, or broad category, of the error.

Returns: java.lang.String

setDomain(String value)

public final void setDomain(String value)

Domain, or broad category, of the error.

Parameters:

Parameter Type Description
value java.lang.String

getReason()

public final String getReason()

Specific reason for the error.

Returns: java.lang.String

setReason(String value)

public final void setReason(String value)

Specific reason for the error.

Parameters:

Parameter Type Description
value java.lang.String

toString()

public String toString()

Returns a String which represents the object instance.

Returns: java.lang.String - Returns a String which represents the object instance.