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.
 Object getSource()
          The issue source.
 int hashCode()
           
 boolean isFatal()
          Check if the issue is fatal.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isFatal

public boolean isFatal()
Check if the issue is fatal. Fatal issues typically prevent the deployment of the application to succeed.

Returns:
true if the issue is fatal, false otherwise.

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-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.