Click or drag to resize
Exceptions Class

[This is preliminary documentation and is subject to change.]

Provides a set of methods that help throwing exceptions. This class cannot be inherited.
Inheritance Hierarchy
System.Object
  VRage.Exceptions

Namespace: VRage
Assembly: VRage.Library (in VRage.Library.dll) Version: 1.0.0.0
Syntax
C#
public static class Exceptions

The Exceptions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberThrowAll<TException>
Specifies a conditions and throws an exception with the provided message if all conditions are true.
Public methodStatic memberThrowAny<TException>
Specifies a conditions and throws an exception with the provided message if any of the conditions is true.
Public methodStatic memberThrowIf<TException>(Boolean)
Specifies a condition and throws an exception with the provided message if the condition is true.
Public methodStatic memberThrowIf<TException>(Boolean,Object[])
Specifies a condition and throws an exception with the provided message if the condition is true.
Public methodStatic memberThrowIf<TException>(Boolean, String)
Specifies a condition and throws an exception with the provided message if the condition is true.
Public methodStatic memberThrowIf<TException>(Boolean, String, String)
Specifies a condition and throws an exception with the provided message if the condition is true.
Top
See Also