Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
DestroyFailedException signals that a credential's destroy operation, used for security purposes like invalidating sensitive information, has failed.
This exception is thrown when the destroy method of a credential implementing the Destroyable interface encounters an error during the destruction process.
It provides two constructors: one with no detail message and another allowing a specific error message to be provided.
DestroyFailedException inherits methods from Throwable and Object for handling and providing information about the exception, such as stack traces and error messages.
public class
DestroyFailedException
extends Exception
Signals that a destroy operation failed.
This exception is thrown by credentials implementing
the Destroyable interface when the destroy
method fails.
Returns an array containing all of the exceptions that were
suppressed, typically by the try-with-resources
statement, in order to deliver this exception.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`DestroyFailedException` signals a failure during a `destroy` operation on `Destroyable` credentials. It extends `Exception` and can be constructed with or without a detail message to describe the failure. Inherited methods provide functionality such as managing suppressed exceptions, accessing stack trace information, getting localized or detailed messages, and returning the cause of the error, or returning an array of suppressed exceptions. Other methods include setting stack trace and printing it.\n"]]