Class NoMessageBodyReaderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- org.restlet.ext.jaxrs.internal.exceptions.NoMessageBodyReaderException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class NoMessageBodyReaderException extends javax.ws.rs.WebApplicationExceptionDeprecated.Will be removed in next minor release.This kind of Exception is thrown, if MessageBodyReaders are used, but are not available. Normally this does not occurs.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MediaTypemediaTypeDeprecated.private java.lang.Class<?>paramTypeDeprecated.private static longserialVersionUIDDeprecated.
-
Constructor Summary
Constructors Constructor Description NoMessageBodyReaderException(MediaType mediaType, java.lang.Class<?> paramType)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MediaTypegetMediaType()Deprecated.Returns the media type for which (in combination with the java parameter type, seegetParamType()) noMessageBodyReaderwas found.java.lang.Class<?>getParamType()Deprecated.Returns the java parameter type for which (in combination with the media type, seegetMediaType()) noMessageBodyReaderwas found.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
mediaType
private final MediaType mediaType
Deprecated.
-
paramType
private final java.lang.Class<?> paramType
Deprecated.
-
-
Constructor Detail
-
NoMessageBodyReaderException
public NoMessageBodyReaderException(MediaType mediaType, java.lang.Class<?> paramType)
Deprecated.- Parameters:
paramType-mediaType-
-
-
Method Detail
-
getMediaType
public MediaType getMediaType()
Deprecated.Returns the media type for which (in combination with the java parameter type, seegetParamType()) noMessageBodyReaderwas found.- Returns:
- the media type for which (in combination with the java parameter
type, see
getParamType()) noMessageBodyReaderwas found.
-
getParamType
public java.lang.Class<?> getParamType()
Deprecated.Returns the java parameter type for which (in combination with the media type, seegetMediaType()) noMessageBodyReaderwas found.- Returns:
- the java parameter type for which (in combination with the media
type, see
getMediaType()) noMessageBodyReaderwas found.
-
-