C# Class W3c.Ddr.Exceptions.DDRException

It is the superclass of all DDR Simple API exceptions other than SystemException. Implementations should raise subclasses of DDRException, they should not raise this exception directly.
Inheritance: System.Exception
Datei anzeigen Open project: OpenDDRdotORG/OpenDDR-CSharp

Public Properties

Property Type Description
IMPLEMENTATION_ERROR int

Public Methods

Method Description
DDRException ( ) : System
DDRException ( int code, Exception ex ) : System
DDRException ( int code, String message ) : System
GetMessage ( ) : String

Method Details

DDRException() public method

public DDRException ( ) : System
return System

DDRException() public method

public DDRException ( int code, Exception ex ) : System
code int
ex System.Exception
return System

DDRException() public method

public DDRException ( int code, String message ) : System
code int
message String
return System

GetMessage() public method

public GetMessage ( ) : String
return String

Property Details

IMPLEMENTATION_ERROR public_oe static_oe property

This code may be used by implementations to create custom error codes. All implementation specific codes must be greater than this value. Implementations may define specific codes for different kinds of failures during initialization.
public static int IMPLEMENTATION_ERROR
return int