org.restlet.ext.jaxrs
Class InstantiateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.restlet.ext.jaxrs.InstantiateException
- All Implemented Interfaces:
- Serializable
public class InstantiateException
- extends 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 |
InstantiateException
public InstantiateException(Method executeMethod,
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(String message)
- Parameters:
message
-
InstantiateException
public InstantiateException(String message,
Throwable cause)
- Parameters:
message
- cause
-
InstantiateException
public InstantiateException(Throwable cause)
- Parameters:
cause
-
Copyright © 2005-2013 Restlet.