org.restlet.ext.jaxrs
Class InstantiateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
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 |
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.