public class NoSuchParserException extends ParseException
Context.parse(Parse),
Serialized Form| Constructor and Description |
|---|
NoSuchParserException(com.google.common.reflect.TypeToken<?> type,
java.lang.Object opts,
java.lang.String contentType)
Constructor.
|
NoSuchParserException(com.google.common.reflect.TypeToken<?> type,
java.lang.Object opts,
java.lang.String contentType,
java.lang.Iterable<Parser<?>> parsers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
The content type of the request.
|
java.lang.Object |
getOpts()
The parse opts.
|
com.google.common.reflect.TypeToken<?> |
getType()
The target type.
|
public NoSuchParserException(com.google.common.reflect.TypeToken<?> type,
java.lang.Object opts,
java.lang.String contentType)
type - the target typeopts - the parse optionscontentType - The content type of the requestpublic NoSuchParserException(com.google.common.reflect.TypeToken<?> type,
java.lang.Object opts,
java.lang.String contentType,
java.lang.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'tpublic com.google.common.reflect.TypeToken<?> getType()
public java.lang.Object getOpts()
public java.lang.String getContentType()