Table of Contents

Class SliceException

Namespace
ZeroC.Slice
Assembly
ZeroC.Slice.dll

Represents the base class for exceptions defined in Slice.

public abstract class SliceException : Exception, ISerializable
Inheritance
SliceException
Implements
Derived
Inherited Members

Constructors

SliceException(string?, Exception?)

Constructs a Slice exception with the provided message and inner exception.

protected SliceException(string? message = null, Exception? innerException = null)

Parameters

message string

A message that describes the exception.

innerException Exception

The inner exception.

Methods

Encode(ref SliceEncoder)

Encodes this exception.

public void Encode(ref SliceEncoder encoder)

Parameters

encoder SliceEncoder

The Slice encoder.