[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eApiProxy.ApplicationException\u003c/code\u003e is a subclass of \u003ccode\u003eApiProxy.ApiProxyException\u003c/code\u003e, and includes methods for handling application-specific exceptions.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: one taking an integer argument, and another taking an integer and a string.\u003c/p\u003e\n"],["\u003cp\u003eIt overrides the \u003ccode\u003ecloneWithoutStackTrace()\u003c/code\u003e method from \u003ccode\u003eApiProxy.ApiProxyException\u003c/code\u003e, returning an \u003ccode\u003eApiProxy.ApplicationException\u003c/code\u003e without the stack trace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetApplicationError()\u003c/code\u003e method retrieves an integer representing the application error.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetErrorDetail()\u003c/code\u003e method retrieves a \u003ccode\u003eString\u003c/code\u003e with details about the error.\u003c/p\u003e\n"]]],[],null,["# Exception ApiProxy.ApplicationException (2.0.0)\n\n public static class ApiProxy.ApplicationException extends ApiProxy.ApiProxyException\n\nInherited Members\n-----------------\n\n[ApiProxy.ApiProxyException.cloneWithoutStackTrace()](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.apphosting.api.ApiProxy.ApiProxyException#com_google_apphosting_api_ApiProxy_ApiProxyException_cloneWithoutStackTrace__) \n[ApiProxy.ApiProxyException.copy(StackTraceElement\\[\\])](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.apphosting.api.ApiProxy.ApiProxyException#com_google_apphosting_api_ApiProxy_ApiProxyException_copy_java_lang_StackTraceElement___) \n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-) \n[Throwable.addSuppressed(Throwable)](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#addSuppressed-java.lang.Throwable-) \n[Throwable.fillInStackTrace()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#fillInStackTrace--) \n[Throwable.getCause()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getCause--) \n[Throwable.getLocalizedMessage()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getLocalizedMessage--) \n[Throwable.getMessage()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getMessage--) \n[Throwable.getStackTrace()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getStackTrace--) \n[Throwable.getSuppressed()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getSuppressed--) \n[Throwable.initCause(Throwable)](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#initCause-java.lang.Throwable-) \n[Throwable.printStackTrace()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace--) \n[Throwable.printStackTrace(PrintStream)](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintStream-) \n[Throwable.printStackTrace(PrintWriter)](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintWriter-) \n[Throwable.setStackTrace(StackTraceElement\\[\\])](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#setStackTrace-java.lang.StackTraceElement[]-) \n[Throwable.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#toString--)\n\nConstructors\n------------\n\n### ApplicationException(int arg0)\n\n public ApplicationException(int arg0)\n\n### ApplicationException(int arg0, String arg1)\n\n public ApplicationException(int arg0, String arg1)\n\nMethods\n-------\n\n### cloneWithoutStackTrace()\n\n protected ApiProxy.ApplicationException cloneWithoutStackTrace()\n\n**Overrides** \n[ApiProxy.ApiProxyException.cloneWithoutStackTrace()](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.apphosting.api.ApiProxy.ApiProxyException#com_google_apphosting_api_ApiProxy_ApiProxyException_cloneWithoutStackTrace__)\n\n### getApplicationError()\n\n public int getApplicationError()\n\n### getErrorDetail()\n\n public String getErrorDetail()"]]