HubException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. signalr. HubException
- com.
- java.
- java.
- java.
public class HubException extends RuntimeException
An exception thrown when the server fails to invoke a Hub method.
Constructor Summary
Constructor | Description |
---|---|
HubException() |
Initializes a new instance of the HubException class. |
HubException(String errorMessage) |
Initializes a new instance of the HubException class with a specified error message. |
HubException(String errorMessage, 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. |
Inherited Members
Constructor Details
HubException
public HubException()
Initializes a new instance of the HubException class.
HubException
public HubException(String errorMessage)
Initializes a new instance of the HubException class with a specified error message.
Parameters:
HubException
public HubException(String errorMessage, 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:
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for