org.restlet.ext.jaxrs
Class InstantiateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.restlet.ext.jaxrs.InstantiateException
All Implemented Interfaces:
java.io.Serializable

public class InstantiateException
extends java.lang.Exception

Thrown if a provider, a root resource class or a resource class could not be instantiated.

Author:
Stephan Koops
See Also:
Serialized Form

Constructor Summary
InstantiateException(java.lang.reflect.Method executeMethod, java.lang.Throwable cause)
          Use this constructor, if a resource class could not be instantiated.
InstantiateException(java.lang.String message)
           
InstantiateException(java.lang.String message, java.lang.Throwable cause)
           
InstantiateException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiateException

public InstantiateException(java.lang.reflect.Method executeMethod,
                            java.lang.Throwable cause)
Use this constructor, if a resource class could not be instantiated.

Parameters:
executeMethod - the resource method that should create the resource object.
cause -

InstantiateException

public InstantiateException(java.lang.String message)
Parameters:
message -

InstantiateException

public InstantiateException(java.lang.String message,
                            java.lang.Throwable cause)
Parameters:
message -
cause -

InstantiateException

public InstantiateException(java.lang.Throwable cause)
Parameters:
cause -


Copyright © 2005-2008 Noelios Technologies.