C# Class RiakClient.Exceptions.RiakException

Inheritance: System.Exception
显示文件 Open project: basho/riak-dotnet-client

Public Methods

Method Description
RiakException ( ) : System

Initializes a new instance of the RiakException class.

RiakException ( int errorCode, string message, bool nodeOffline ) : System

Initializes a new instance of the RiakException class.

RiakException ( string message ) : System

Initializes a new instance of the RiakException class.

RiakException ( string message, Exception innerException ) : System

Initializes a new instance of the RiakException class.

RiakException ( string message, bool nodeOffline ) : System

Initializes a new instance of the RiakException class.

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
RiakException ( SerializationInfo info, StreamingContext context ) : System

Method Details

RiakException() public method

Initializes a new instance of the RiakException class.
public RiakException ( ) : System
return System

RiakException() public method

Initializes a new instance of the RiakException class.
public RiakException ( int errorCode, string message, bool nodeOffline ) : System
errorCode int An error code returned from a Riak operation.
message string A message that describes the error.
nodeOffline bool A flag to mark if the node was offline or unreachable at the time of the error.
return System

RiakException() public method

Initializes a new instance of the RiakException class.
public RiakException ( string message ) : System
message string A message that describes the error.
return System

RiakException() public method

Initializes a new instance of the RiakException class.
public RiakException ( string message, Exception innerException ) : System
message string A message that describes the error.
innerException System.Exception The exception that is the cause of the current exception.
return System

RiakException() public method

Initializes a new instance of the RiakException class.
public RiakException ( string message, bool nodeOffline ) : System
message string A message that describes the error.
nodeOffline bool A flag to mark if the node was offline or unreachable at the time of the error.
return System