Java 8 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Java 8
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Java
8 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Java.
ApiProxy.CancelledException (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
-
-
Constructor Summary
Constructors
Constructor and Description |
CancelledException(java.lang.String packageName,
java.lang.String methodName) |
CancelledException(java.lang.String packageName,
java.lang.String methodName,
java.lang.String reason) |
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Constructor Detail
-
CancelledException
public CancelledException(java.lang.String packageName,
java.lang.String methodName)
-
CancelledException
public CancelledException(java.lang.String packageName,
java.lang.String methodName,
java.lang.String reason)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["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-06-16 UTC."],[[["`ApiProxy.CancelledException` is a static class that extends `ApiProxy.ApiProxyException` and is part of the `com.google.apphosting.api` package."],["This class represents an exception that can be cancelled, and it implements the `java.io.Serializable` interface."],["The `CancelledException` class offers two constructors for instantiation: one that accepts a package name and method name, and another that accepts those along with a reason."],["It provides a `cloneWithoutStackTrace` method, allowing for the creation of a copy of the exception without the stack trace."],["This class inherits and implements various methods from its superclasses, `ApiProxy.ApiProxyException`, `Throwable`, and `Object`, such as `copy`, `getStackTrace`, `toString`, etc."]]],[]]