org.apache.shindig.gadgets
Class GadgetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.shindig.gadgets.GadgetException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AbstractSpecFactory.SpecRetrievalFailedException, SpecParserException, TemplateParserException, UnsupportedFeatureException
public class GadgetException
- extends Exception
Base class for all Gadget exceptions. The bulk of the code uses
this class directly, differentiating between error conditions by
the Code enumeration.
- See Also:
- Serialized Form
|
Constructor Summary |
GadgetException(GadgetException.Code code)
|
GadgetException(GadgetException.Code code,
int httpStatusCode)
|
GadgetException(GadgetException.Code code,
String msg)
|
GadgetException(GadgetException.Code code,
String msg,
int httpStatusCode)
|
GadgetException(GadgetException.Code code,
String msg,
Throwable cause)
|
GadgetException(GadgetException.Code code,
String msg,
Throwable cause,
int httpStatusCode)
|
GadgetException(GadgetException.Code code,
Throwable cause)
|
GadgetException(GadgetException.Code code,
Throwable cause,
int httpStatusCode)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
GadgetException
public GadgetException(GadgetException.Code code,
int httpStatusCode)
GadgetException
public GadgetException(GadgetException.Code code,
Throwable cause,
int httpStatusCode)
GadgetException
public GadgetException(GadgetException.Code code,
String msg,
Throwable cause,
int httpStatusCode)
GadgetException
public GadgetException(GadgetException.Code code,
String msg,
int httpStatusCode)
GadgetException
public GadgetException(GadgetException.Code code)
GadgetException
public GadgetException(GadgetException.Code code,
Throwable cause)
GadgetException
public GadgetException(GadgetException.Code code,
String msg,
Throwable cause)
GadgetException
public GadgetException(GadgetException.Code code,
String msg)
getCode
public GadgetException.Code getCode()
getHttpStatusCode
public int getHttpStatusCode()
Copyright © 2007-2012. All Rights Reserved.