public static class ApiProxy.ApiProxyException extends RuntimeException
| Constructor and Description |
|---|
ApiProxyException(String message) |
ApiProxyException(String message,
String packageName,
String methodName)
Returns a new
ApiProxy.ApiProxyException where the exception message is the result of calling
String.format(message, packageName, methodName). |
ApiProxyException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
protected ApiProxy.ApiProxyException |
cloneWithoutStackTrace()
Produces a copy of this exception where the stack trace is replaced by one from the place
where this method was called.
|
ApiProxy.ApiProxyException |
copy(StackTraceElement[] stackTrace)
Clones this exception and then sets this Exception as the cause
of the clone and sets the given stack trace in the clone.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ApiProxyException(String message, String packageName, String methodName)
ApiProxy.ApiProxyException where the exception message is the result of calling
String.format(message, packageName, methodName).public ApiProxyException(String message)
public ApiProxy.ApiProxyException copy(StackTraceElement[] stackTrace)
stackTrace - The stack trace to set in the returned cloneprotected ApiProxy.ApiProxyException cloneWithoutStackTrace()
Copyright © 2022. All rights reserved.