public class NoSuchParserException extends ParseException
Context.parse(Parse)
,
Serialized FormConstructor and Description |
---|
NoSuchParserException(TypeToken<?> type,
Object opts,
String contentType)
Constructor.
|
NoSuchParserException(TypeToken<?> type,
Object opts,
String contentType,
Iterable<Parser<?>> parsers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
The content type of the request.
|
Object |
getOpts()
The parse opts.
|
TypeToken<?> |
getType()
The target type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoSuchParserException(TypeToken<?> type, Object opts, String contentType)
type
- the target typeopts
- the parse optionscontentType
- The content type of the requestpublic NoSuchParserException(TypeToken<?> type, Object opts, String contentType, Iterable<Parser<?>> parsers)
type
- the target typeopts
- the parse optionscontentType
- The content type of the requestparsers
- the parsers that had the opportunity to parse but didn't