C# Class RiotNet.RestException

Represents an error that occurred during a REST request.
Inheritance: System.Exception
Datei anzeigen Open project: aj-r/RiotNet

Public Methods

Method Description
RestException ( ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response, Exception innerException ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response, string message ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response, string message, Exception innerException ) : System.Runtime.Serialization

Creates a new RestException instance.

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
RestException ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

Method Details

RestException() public method

Creates a new RestException instance.
public RestException ( ) : System.Runtime.Serialization
return System.Runtime.Serialization

RestException() public method

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
return System.Runtime.Serialization

RestException() public method

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response, Exception innerException ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
innerException System.Exception The exception that is the cause of the current exception.
return System.Runtime.Serialization

RestException() public method

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response, string message ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
message string A message that describes the error.
return System.Runtime.Serialization

RestException() public method

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response, string message, Exception innerException ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
message string A message that describes the error.
innerException System.Exception The exception that is the cause of the current exception.
return System.Runtime.Serialization