Class HystrixRuntimeException
- Namespace
- Steeltoe.CircuitBreaker.Hystrix.Exceptions
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
[Serializable]
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class HystrixRuntimeException : Exception, ISerializable
- Inheritance
-
HystrixRuntimeException
- Implements
- Inherited Members
Constructors
HystrixRuntimeException()
public HystrixRuntimeException()
HystrixRuntimeException(FailureType, Type, string)
public HystrixRuntimeException(FailureType failureCause, Type commandClass, string message)
Parameters
failureCauseFailureTypecommandClassTypemessagestring
HystrixRuntimeException(FailureType, Type, string, Exception, Exception)
public HystrixRuntimeException(FailureType failureCause, Type commandClass, string message, Exception cause, Exception fallbackException)
Parameters
failureCauseFailureTypecommandClassTypemessagestringcauseExceptionfallbackExceptionException
HystrixRuntimeException(SerializationInfo, StreamingContext)
protected HystrixRuntimeException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
HystrixRuntimeException(string)
public HystrixRuntimeException(string message)
Parameters
messagestring
HystrixRuntimeException(string, Exception)
public HystrixRuntimeException(string message, Exception innerException)
Parameters
Properties
FailureType
public FailureType FailureType { get; }
Property Value
FallbackException
public Exception FallbackException { get; }
Property Value
ImplementingClass
public Type ImplementingClass { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
infoparameter is a null reference (Nothingin Visual Basic).