C# Class W3c.Ddr.Exceptions.ValueException

This is a subclass of DDRException and is thrown when an error is detected during an attempt to retrieve the value of a Property using one of the value accessor methods of the PropertyValue class. The exception code indicates the nature of the error.
Inheritance: DDRException
Datei anzeigen Open project: OpenDDRdotORG/OpenDDR-CSharp

Public Properties

Property Type Description
INCOMPATIBLE_TYPES int
MULTIPLE_VALUES int
NOT_KNOWN int

Public Methods

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

Method Details

ValueException() public method

public ValueException ( ) : System
return System

ValueException() public method

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

ValueException() public method

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

Property Details

INCOMPATIBLE_TYPES public_oe static_oe property

The value represented by the PropertyValue is incompatible with the return type of the method used to retrieve it.
public static int INCOMPATIBLE_TYPES
return int

MULTIPLE_VALUES public_oe static_oe property

The implementation is aware of multiple values for this Property.
public static int MULTIPLE_VALUES
return int

NOT_KNOWN public_oe static_oe property

The property value is unknown.
public static int NOT_KNOWN
return int