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.165 -- Release Build+2ce0056577667a1696ea8a6ee4c4a2daa6739ee7
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