org.glassfish.jersey.server.model
Class ResourceModelIssue

java.lang.Object
  extended by org.glassfish.jersey.server.model.ResourceModelIssue

public class ResourceModelIssue
extends Object

Abstraction for various issues of a resource model validity like: no resources, duplicated uri templates, etc.

Author:
Jakub Podlesak (jakub.podlesak at oracle.com)

Constructor Summary
ResourceModelIssue(Object source, String message)
           
ResourceModelIssue(Object source, String message, boolean fatal)
           
 
Method Summary
 String getMessage()
          Human readable description of the issue
 Object getSource()
          Corresponding object (having the issue)
 boolean isFatal()
          If this returns true, appropriate abstract resource has a fatal issue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceModelIssue

public ResourceModelIssue(Object source,
                          String message)

ResourceModelIssue

public ResourceModelIssue(Object source,
                          String message,
                          boolean fatal)
Method Detail

getMessage

public String getMessage()
Human readable description of the issue


isFatal

public boolean isFatal()
If this returns true, appropriate abstract resource has a fatal issue


getSource

public Object getSource()
Corresponding object (having the issue)



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