Package 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
@Deprecated public class InstantiateException extends java.lang.ExceptionDeprecated.Will be removed in next minor release.Thrown if a provider, a root resource class or a resource class could not be instantiated.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDDeprecated.
-
Constructor Summary
Constructors Constructor Description InstantiateException(java.lang.reflect.Method executeMethod, java.lang.Throwable cause)Deprecated.Use this constructor, if a resource class could not be instantiated.InstantiateException(java.lang.String message)Deprecated.InstantiateException(java.lang.String message, java.lang.Throwable cause)Deprecated.InstantiateException(java.lang.Throwable cause)Deprecated.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InstantiateException
public InstantiateException(java.lang.reflect.Method executeMethod, java.lang.Throwable cause)Deprecated.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)
Deprecated.- Parameters:
message-
-
InstantiateException
public InstantiateException(java.lang.String message, java.lang.Throwable cause)Deprecated.- Parameters:
message-cause-
-
InstantiateException
public InstantiateException(java.lang.Throwable cause)
Deprecated.- Parameters:
cause-
-
-