public class ActionFailedException extends Exception
Constructor and Description |
---|
ActionFailedException()
Creates a new ActionFailedException without
specifying a reason for the failure.
|
ActionFailedException(String reason)
Creates a new ActionFailedException.
|
ActionFailedException(Throwable err)
Creates a new ActionFailedException.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getNestedException()
Returns the nested Throwable from the underlying failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ActionFailedException()
public ActionFailedException(String reason)
reason
- the reason for the failure.public ActionFailedException(Throwable err)
err
- the Throwable that caused the failure.public Throwable getNestedException()
Copyright © 2023. All rights reserved.