Class ApiProxy.ApiProxyException

    • Constructor Detail

      • ApiProxyException

        public 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

        public ApiProxyException​(String message)
      • ApiProxyException

        public ApiProxyException​(String message,
                                 Throwable cause)
    • Method Detail

      • copy

        public 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.
        Parameters:
        stackTrace - The stack trace to set in the returned clone
        Returns:
        a clone of this Exception with this Exception as the cause and with the given stack trace.
      • cloneWithoutStackTrace

        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.