ReentrancyModeDisallowedException Class

  • java.lang.Object
    • RuntimeException
      • FabricException
        • microsoft.servicefabric.actors.ReentrancyModeDisallowedException

public class ReentrancyModeDisallowedException extends FabricException

Exception thrown by actor runtime when reentrant call is made for an actor and its ReentrancyMode is set to Disallowed.

Constructor Summary

Constructor Description
ReentrancyModeDisallowedException()

Initializes a new instance of the ReentrancyModeDisallowedException class.

ReentrancyModeDisallowedException(String message)

Initializes a new instance of the ReentrancyModeDisallowedException class with a specified error message.

ReentrancyModeDisallowedException(String message, Throwable cause)

Initializes a new instance of the ReentrancyModeDisallowedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

ReentrancyModeDisallowedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)

Initializes a new instance of the ReentrancyModeDisallowedException class with a specified error message, a java.lang.Throwable cause and with two boolean flags to enable suppression and print stacktrace.

ReentrancyModeDisallowedException(Throwable cause)

Initializes a new instance of the ReentrancyModeDisallowedException class with a java.lang.Throwable cause.

Inherited Members

Constructor Details

ReentrancyModeDisallowedException

public ReentrancyModeDisallowedException()

Initializes a new instance of the ReentrancyModeDisallowedException class.

ReentrancyModeDisallowedException

public ReentrancyModeDisallowedException(String message)

Initializes a new instance of the ReentrancyModeDisallowedException class with a specified error message.

Parameters:

message - Exception message

ReentrancyModeDisallowedException

public ReentrancyModeDisallowedException(String message, Throwable cause)

Initializes a new instance of the ReentrancyModeDisallowedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

message - The error message that explains the reason for the exception.
cause - The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

ReentrancyModeDisallowedException

protected ReentrancyModeDisallowedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)

Initializes a new instance of the ReentrancyModeDisallowedException class with a specified error message, a java.lang.Throwable cause and with two boolean flags to enable suppression and print stacktrace.

Parameters:

message - Exception message.
cause -

java.lang.Throwable

enableSuppression - If true, enable suppression.
writableStackTrace - If true, enable stack trace.

ReentrancyModeDisallowedException

public ReentrancyModeDisallowedException(Throwable cause)

Initializes a new instance of the ReentrancyModeDisallowedException class with a java.lang.Throwable cause.

Parameters:

cause -

java.lang.Throwable

Applies to