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 Object

Generic error message.


Method Summary
 boolean equals(Object o)
           
 String getMessage()
          Human-readable description of the issue.
 Severity getSeverity()
          Get Severity.
 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 ErrorMessage.

getMessage

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

Returns:
message describing the issue.

getSource

public Object getSource()
The issue source.

Identifies the object where the issue was found.

Returns:
source of the issue.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.