Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 condition
        cause - root cause or instigator of the condition