us.monoid.web
Class RestyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
us.monoid.web.RestyException
- All Implemented Interfaces:
- java.io.Serializable
public class RestyException
- extends java.io.IOException
IOExceptions caused by non http 200 OK responses and containing a response message
are wrapped in RestyExceptions that also embeds the requested resource
- See Also:
- Serialized Form
|
Constructor Summary |
RestyException(java.lang.String message,
java.lang.Throwable cause,
us.monoid.web.AbstractResource errorResource)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RestyException
public RestyException(java.lang.String message,
java.lang.Throwable cause,
us.monoid.web.AbstractResource errorResource)
getErrorResource
public us.monoid.web.AbstractResource getErrorResource()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable