Class HubException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HubException
    extends java.lang.RuntimeException
    An exception thrown when the server fails to invoke a Hub method.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HubException()
      Initializes a new instance of the HubException class.
      HubException​(java.lang.String errorMessage)
      Initializes a new instance of the HubException class with a specified error message.
      HubException​(java.lang.String errorMessage, java.lang.Exception innerException)
      Initializes a new instance of the HubException class with a specified error message and a reference to the exception that is the cause of this exception.
    • 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
    • Constructor Detail

      • HubException

        public HubException()
        Initializes a new instance of the HubException class.
      • HubException

        public HubException​(java.lang.String errorMessage)
        Initializes a new instance of the HubException class with a specified error message.
        Parameters:
        errorMessage - The error message that explains the reason for the exception.
      • HubException

        public HubException​(java.lang.String errorMessage,
                            java.lang.Exception innerException)
        Initializes a new instance of the HubException class with a specified error message and a reference to the exception that is the cause of this exception.
        Parameters:
        errorMessage - The error message that explains the reason for the exception.
        innerException - The exception that is the cause of the current exception, or null if no inner exception is specified.