All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.signalr.HubException Maven / Gradle / Ivy

There is a newer version: 9.0.0-preview.7.24406.2
Show newest version
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

package com.microsoft.signalr;

/**
 * An exception thrown when the server fails to invoke a Hub method.
 */
public class HubException extends RuntimeException {
    private static final long serialVersionUID = -572019264269821519L;

    /**
     * Initializes a new instance of the {@link HubException} class.
     */
    public HubException() {
    }

    /**
     * Initializes a new instance of the {@link HubException} class with a specified error message.
     *
     * @param errorMessage The error message that explains the reason for the exception.
     */
    public HubException(String errorMessage) {
        super(errorMessage);
    }

    /**
     * Initializes a new instance of the {@link HubException} class with a specified error message and a reference
     * to the exception that is the cause of this exception.
     *
     * @param errorMessage The error message that explains the reason for the exception.
     * @param innerException The exception that is the cause of the current exception, or null if no inner exception is specified.
     */
    public HubException(String errorMessage, Exception innerException) {
        super(errorMessage, innerException);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy