org.glassfish.jersey.internal
Class Errors.ErrorMessage

java.lang.Object
  extended by org.glassfish.jersey.internal.Errors.ErrorMessage
Enclosing class:
Errors

public static class Errors.ErrorMessage
extends java.lang.Object

Generic error message.


Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getMessage()
          Human-readable description of the issue.
 Severity getSeverity()
          Get Severity.
 java.lang.Object getSource()
          The issue source.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSeverity

public Severity getSeverity()
Get Severity.

Returns:
severity of current Errors.ErrorMessage.

getMessage

public java.lang.String getMessage()
Human-readable description of the issue.

Returns:
message describing the issue.

getSource

public java.lang.Object getSource()
The issue source.

Identifies the object where the issue was found.

Returns:
source of the issue.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.