Package org.igniterealtime.jbosh
Class BOSHException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.igniterealtime.jbosh.BOSHException
- All Implemented Interfaces:
Serializable
Exception class used by the BOSH API to minimize the number of checked
exceptions which must be handled by the user of the API.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBOSHException
(String msg) Creates a new exception isntance with the specified descriptive message.BOSHException
(String msg, Throwable cause) Creates a new exception isntance with the specified descriptive message and the underlying root cause of the exceptional condition. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDServial version UID.- See Also:
-
-
Constructor Details
-
BOSHException
Creates a new exception isntance with the specified descriptive message.- Parameters:
msg
- description of the exceptional condition
-
BOSHException
Creates a new exception isntance with the specified descriptive message and the underlying root cause of the exceptional condition.- Parameters:
msg
- description of the exceptional conditioncause
- root cause or instigator of the condition
-