Package org.igniterealtime.jbosh
Class BOSHException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.igniterealtime.jbosh.BOSHException
-
- All Implemented Interfaces:
java.io.Serializable
public class BOSHException extends java.lang.Exception
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Servial version UID.
-
Constructor Summary
Constructors Constructor Description BOSHException(java.lang.String msg)
Creates a new exception isntance with the specified descriptive message.BOSHException(java.lang.String msg, java.lang.Throwable cause)
Creates a new exception isntance with the specified descriptive message and the underlying root cause of the exceptional condition.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Servial version UID.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BOSHException
public BOSHException(java.lang.String msg)
Creates a new exception isntance with the specified descriptive message.- Parameters:
msg
- description of the exceptional condition
-
BOSHException
public BOSHException(java.lang.String msg, java.lang.Throwable cause)
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
-
-