public class OperationFailedException extends Exception
When an expected operation has failed and cannot be recoved. This
exception is typically thrown as the result of an internal exception (such as
IOException) which, to provide a meaningful interface, should
not be bubbled out to a user. In other words, the user doesn't or shouldn't
care that a particular operation failed due to an IO exception -- the user
only cares that the operation failed for some reason.
Subclasses will provide explicit information as to the nature of the failure.
| Constructor and Description |
|---|
OperationFailedException() |
OperationFailedException(String message) |
OperationFailedException(String message,
Throwable cause) |
OperationFailedException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OperationFailedException()
Exception.Exception()public OperationFailedException(String message)
message - parameterException.Exception(java.lang.String)public OperationFailedException(String message, Throwable cause)
message - parametercause - parameterException.Exception(java.lang.String, java.lang.Throwable)public OperationFailedException(Throwable cause)
cause - parameterException.Exception(java.lang.Throwable)Copyright 2004-2021 Solace Corporation. All rights reserved.