Class RelayException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.microsoft.azure.relay.RelayException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionLostException, EndpointNotFoundException

public class RelayException extends Exception
See Also:
  • Constructor Details

    • RelayException

      public RelayException(String message, Exception innerException)
      Creates a new instance of the RelayException class with a specified error message and a reference to the inner exception that is the cause of this exception.
      Parameters:
      message - The message that describes the error.
      innerException - The exception that is the cause of the current exception.
  • Method Details

    • isTransient

      public boolean isTransient()
      A value indicating whether the exception is transient. Check this property to determine if the operation should be retried.
      Returns:
      True if the exception is transient; otherwise, false.
    • setTransient

      protected void setTransient(boolean isTransient)