org.jboss.resteasy.spi
Class ReaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.resteasy.spi.Failure
org.jboss.resteasy.spi.LoggableFailure
org.jboss.resteasy.spi.ReaderException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JAXBUnmarshalException
public class ReaderException
- extends LoggableFailure
MessageBodyReader readFrom() exception
If you do not provide an error code or Response, on the server side it will default to 400 response code.
If you provide a throwable, that exception will be matched against an ExceptionMapper first.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReaderException
public ReaderException(java.lang.String s,
Response response)
ReaderException
public ReaderException(java.lang.String s,
java.lang.Throwable throwable,
Response response)
ReaderException
public ReaderException(java.lang.Throwable throwable,
Response response)
ReaderException
public ReaderException(java.lang.String s,
java.lang.Throwable throwable)
ReaderException
public ReaderException(java.lang.Throwable throwable)
ReaderException
public ReaderException(java.lang.String s)
ReaderException
public ReaderException(int errorCode)
ReaderException
public ReaderException(java.lang.String s,
int errorCode)
ReaderException
public ReaderException(java.lang.String s,
java.lang.Throwable throwable,
int errorCode)
ReaderException
public ReaderException(java.lang.Throwable throwable,
int errorCode)
Copyright © 2010. All Rights Reserved.