Class ConvertRepresentationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.restlet.ext.jaxrs.internal.exceptions.JaxRsException
-
- org.restlet.ext.jaxrs.internal.exceptions.ConvertRepresentationException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class ConvertRepresentationException extends JaxRsException
Deprecated.Will be removed in next minor release.Thrown if the entity could not be deserialized.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description privateConvertRepresentationException(java.lang.String message)Deprecated.privateConvertRepresentationException(java.lang.String message, java.lang.Throwable cause)Deprecated.privateConvertRepresentationException(java.lang.Throwable cause)Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConvertRepresentationExceptionobject(java.lang.Class<?> paramType, java.lang.Object unparseableValue, java.lang.Throwable cause)Deprecated.Throws a message, that the given String value could not be converted to a primitive.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConvertRepresentationException
private ConvertRepresentationException(java.lang.String message)
Deprecated.- Parameters:
message-
-
ConvertRepresentationException
private ConvertRepresentationException(java.lang.String message, java.lang.Throwable cause)Deprecated.- Parameters:
message-cause-
-
ConvertRepresentationException
private ConvertRepresentationException(java.lang.Throwable cause)
Deprecated.- Parameters:
cause-
-
-
Method Detail
-
object
public static ConvertRepresentationException object(java.lang.Class<?> paramType, java.lang.Object unparseableValue, java.lang.Throwable cause) throws ConvertRepresentationException
Deprecated.Throws a message, that the given String value could not be converted to a primitive.- Parameters:
paramType-unparseableValue-cause-- Returns:
- (static the created ConvertRepresentationException for the compiler)
- Throws:
ConvertRepresentationException
-
-