Skip to main content
Version: 1.0.0-preview.38

Velaptor.Scene.Exceptions.SceneAlreadyExistsException

Velaptor

Velaptor.Scene.Exceptions

SceneAlreadyExistsException Class

Thrown when a scene already exists.

public sealed class SceneAlreadyExistsException : System.Exception

Inheritance System.ObjectSystem.Exception → SceneAlreadyExistsException

Constructors

SceneAlreadyExistsException() Constructor

Initializes a new instance of the SceneAlreadyExistsException class.

public SceneAlreadyExistsException();

SceneAlreadyExistsException(string, Exception) Constructor

Initializes a new instance of the SceneAlreadyExistsException class.

public SceneAlreadyExistsException(string message, System.Exception innerException);

Parameters

message System.String

The message that describes the error.

innerException System.Exception

The System.Exception instance that caused the current exception.

SceneAlreadyExistsException(string, Guid) Constructor

Initializes a new instance of the SceneAlreadyExistsException class.

public SceneAlreadyExistsException(string name, System.Guid id);

Parameters

name System.String

The name of the scene.

id System.Guid

The scene ID.

SceneAlreadyExistsException(string) Constructor

Initializes a new instance of the SceneAlreadyExistsException class.

public SceneAlreadyExistsException(string message);

Parameters

message System.String

The message that describes the error.