Package com.microsoft.signalr
Class HubException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.microsoft.signalr.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 theHubException
class.HubException(java.lang.String errorMessage)
Initializes a new instance of theHubException
class with a specified error message.HubException(java.lang.String errorMessage, java.lang.Exception innerException)
Initializes a new instance of theHubException
class with a specified error message and a reference to the exception that is the cause of this exception.
-
-
-
Constructor Detail
-
HubException
public HubException()
Initializes a new instance of theHubException
class.
-
HubException
public HubException(java.lang.String errorMessage)
Initializes a new instance of theHubException
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 theHubException
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.
-
-