Gemstone Communication Library
Show/Hide TOC

# SerialException(SerialError, String, Exception) Constructor

Initializes a new instance of the SerialException class.

## Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.159 -- Release Build+742ef65516640a8a78aa4c471b2e701c25c85162
C#
View Source Request Example

    public SerialException(
    	SerialError serialError,
    	string? message = null,
    	Exception? innerException = null
    )

VB
View Source Request Example

    Public Sub New (
    	serialError As SerialError,
    	Optional message As String = Nothing,
    	Optional innerException As Exception = Nothing
    )

C++
View Source Request Example

    public:
    SerialException(
    	SerialError serialError,
    	String^ message = nullptr,
    	Exception^ innerException = nullptr
    )

JavaScript
View Source Request Example

    Gemstone.Communication.SerialException = function(serialError, message, innerException);

#### Parameters

serialError SerialError
  The SerialError associated with the exception.
message String (Optional)
  The error message that explains the reason for the exception, or to use the default message associated with serialError.
innerException Exception (Optional)
  The exception that is the cause of the current exception, or if no inner exception is specified.

## See Also

#### Reference

SerialException Class
SerialException Overload
Gemstone.Communication Namespace