Package com.google.apphosting.api
Class ApiProxy.ApplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.apphosting.api.ApiProxy.ApiProxyException
-
- com.google.apphosting.api.ApiProxy.ApplicationException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ApiProxy
public static class ApiProxy.ApplicationException extends ApiProxy.ApiProxyException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationException(int applicationError)
ApplicationException(int applicationError, String errorDetail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ApiProxy.ApplicationException
cloneWithoutStackTrace()
Produces a copy of this exception where the stack trace is replaced by one from the place where this method was called.int
getApplicationError()
String
getErrorDetail()
-
Methods inherited from class com.google.apphosting.api.ApiProxy.ApiProxyException
copy
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ApplicationException
public ApplicationException(int applicationError)
-
ApplicationException
public ApplicationException(int applicationError, String errorDetail)
-
-
Method Detail
-
getApplicationError
public int getApplicationError()
-
getErrorDetail
public String getErrorDetail()
-
cloneWithoutStackTrace
protected ApiProxy.ApplicationException cloneWithoutStackTrace()
Description copied from class:ApiProxy.ApiProxyException
Produces a copy of this exception where the stack trace is replaced by one from the place where this method was called.- Overrides:
cloneWithoutStackTrace
in classApiProxy.ApiProxyException
-
-