Package com.lucimber.dbus.exception
Class FailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.lucimber.dbus.exception.AbstractException
com.lucimber.dbus.exception.FailedException
- All Implemented Interfaces:
Serializable
A generic error indication. See the error message for further details. This error name should be
avoided, in favor of a more expressive error name.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance.FailedException
(DBusString message) Creates a new instance with a message.FailedException
(DBusString message, Throwable cause) Creates a new instance with a message and cause.FailedException
(Throwable cause) Creates a new instance with a cause. -
Method Summary
Methods inherited from class com.lucimber.dbus.exception.AbstractException
getErrorName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedException
public FailedException()Creates a new instance. -
FailedException
Creates a new instance with a message.- Parameters:
message
- the message
-
FailedException
Creates a new instance with a cause.- Parameters:
cause
- the cause
-
FailedException
Creates a new instance with a message and cause.- Parameters:
message
- the messagecause
- the cause
-