Class StructuredTaskScope.FailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.util.concurrent.StructuredTaskScope.FailedException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
StructuredTaskScopePREVIEW<T,R>
public static final class StructuredTaskScope.FailedException extends RuntimeException
FailedException is a preview API of the Java platform. Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Exception thrown by
StructuredTaskScope.join()PREVIEW when the outcome is an exception rather than a result.- Since:
- 25
- See Also:
Method Summary
Methods declared in class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/concurrent/StructuredTaskScope.FailedException.html
FailedExceptionwhen preview features are enabled.