DestroyFailedException

  • 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.

Public Constructor Summary

DestroyFailedException()
Constructs a DestroyFailedException with no detail message.
DestroyFailedException(String msg)
Constructs a DestroyFailedException with the specified detail message.

Inherited Method Summary

Public Constructors

public DestroyFailedException ()

Constructs a DestroyFailedException with no detail message. A detail message is a String that describes this particular exception.

public DestroyFailedException (String msg)

Constructs a DestroyFailedException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
msg the detail message.