Skip to content

Exceptions

Exception types thrown by the MVsharp BASIC runtime.

AccountNotSetup

3 members

new AccountNotSetup()

Creates a new AccountNotSetup instance.

Kind Constructor
Returns AccountNotSetup
Use case Use this constructor when your code needs a new, ready-to-use AccountNotSetup object.
How this member is tested

Arrange: valid arguments for AccountNotSetup.
Act: var subject = new AccountNotSetup()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AccountNotSetup instance; there is no return value, but object state should reflect the constructor arguments.

new AccountNotSetup(string message)

Creates a new AccountNotSetup instance using the supplied message.

Kind Constructor
Returns AccountNotSetup
Use case Use this constructor when your code needs a new, ready-to-use AccountNotSetup object using the supplied message.
How this member is tested

Arrange: valid arguments for AccountNotSetup.
Act: var subject = new AccountNotSetup("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AccountNotSetup instance; there is no return value, but object state should reflect the constructor arguments.

new AccountNotSetup(string message, Exception inner)

Creates a new AccountNotSetup instance using the supplied message, inner.

Kind Constructor
Returns AccountNotSetup
Use case Use this constructor when your code needs a new, ready-to-use AccountNotSetup object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for AccountNotSetup.
Act: var subject = new AccountNotSetup("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AccountNotSetup instance; there is no return value, but object state should reflect the constructor arguments.

AppAbortException

5 members

new AppAbortException()

Creates a new AppAbortException instance.

Kind Constructor
Returns AppAbortException
Use case Use this constructor when your code needs a new, ready-to-use AppAbortException object.
How this member is tested

Arrange: valid arguments for AppAbortException.
Act: var subject = new AppAbortException()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppAbortException instance; there is no return value, but object state should reflect the constructor arguments.

new AppAbortException(string message)

Creates a new AppAbortException instance using the supplied message.

Kind Constructor
Returns AppAbortException
Use case Use this constructor when your code needs a new, ready-to-use AppAbortException object using the supplied message.
How this member is tested

Arrange: valid arguments for AppAbortException.
Act: var subject = new AppAbortException("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppAbortException instance; there is no return value, but object state should reflect the constructor arguments.

new AppAbortException(string code, string message)

Creates a new AppAbortException instance using the supplied code, message.

Kind Constructor
Returns AppAbortException
Use case Use this constructor when your code needs a new, ready-to-use AppAbortException object using the supplied code, message.
How this member is tested

Arrange: valid arguments for AppAbortException.
Act: var subject = new AppAbortException("sample", "sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppAbortException instance; there is no return value, but object state should reflect the constructor arguments.

new AppAbortException(int code, string message)

Creates a new AppAbortException instance using the supplied code, message.

Kind Constructor
Returns AppAbortException
Use case Use this constructor when your code needs a new, ready-to-use AppAbortException object using the supplied code, message.
How this member is tested

Arrange: valid arguments for AppAbortException.
Act: var subject = new AppAbortException(1, "sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppAbortException instance; there is no return value, but object state should reflect the constructor arguments.

new AppAbortException(string message, Exception inner)

Creates a new AppAbortException instance using the supplied message, inner.

Kind Constructor
Returns AppAbortException
Use case Use this constructor when your code needs a new, ready-to-use AppAbortException object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for AppAbortException.
Act: var subject = new AppAbortException("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppAbortException instance; there is no return value, but object state should reflect the constructor arguments.

AppQuitException

3 members

new AppQuitException()

Creates a new AppQuitException instance.

Kind Constructor
Returns AppQuitException
Use case Use this constructor when your code needs a new, ready-to-use AppQuitException object.
How this member is tested

Arrange: valid arguments for AppQuitException.
Act: var subject = new AppQuitException()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppQuitException instance; there is no return value, but object state should reflect the constructor arguments.

new AppQuitException(string message)

Creates a new AppQuitException instance using the supplied message.

Kind Constructor
Returns AppQuitException
Use case Use this constructor when your code needs a new, ready-to-use AppQuitException object using the supplied message.
How this member is tested

Arrange: valid arguments for AppQuitException.
Act: var subject = new AppQuitException("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppQuitException instance; there is no return value, but object state should reflect the constructor arguments.

new AppQuitException(string message, Exception inner)

Creates a new AppQuitException instance using the supplied message, inner.

Kind Constructor
Returns AppQuitException
Use case Use this constructor when your code needs a new, ready-to-use AppQuitException object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for AppQuitException.
Act: var subject = new AppQuitException("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized AppQuitException instance; there is no return value, but object state should reflect the constructor arguments.

ChainException

3 members

new ChainException()

Creates a new ChainException instance.

Kind Constructor
Returns ChainException
Use case Use this constructor when your code needs a new, ready-to-use ChainException object.
How this member is tested

Arrange: valid arguments for ChainException.
Act: var subject = new ChainException()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized ChainException instance; there is no return value, but object state should reflect the constructor arguments.

new ChainException(string chainCommand)

Creates a new ChainException instance using the supplied chainCommand.

Kind Constructor
Returns ChainException
Use case Use this constructor when your code needs a new, ready-to-use ChainException object using the supplied chainCommand.
How this member is tested

Arrange: valid arguments for ChainException.
Act: var subject = new ChainException("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized ChainException instance; there is no return value, but object state should reflect the constructor arguments.

new ChainException(string message, Exception inner)

Creates a new ChainException instance using the supplied message, inner.

Kind Constructor
Returns ChainException
Use case Use this constructor when your code needs a new, ready-to-use ChainException object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for ChainException.
Act: var subject = new ChainException("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized ChainException instance; there is no return value, but object state should reflect the constructor arguments.

DbErrorException

3 members

new DbErrorException()

Creates a new DbErrorException instance.

Kind Constructor
Returns DbErrorException
Use case Use this constructor when your code needs a new, ready-to-use DbErrorException object.
How this member is tested

Arrange: valid arguments for DbErrorException.
Act: var subject = new DbErrorException()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized DbErrorException instance; there is no return value, but object state should reflect the constructor arguments.

new DbErrorException(string message)

Creates a new DbErrorException instance using the supplied message.

Kind Constructor
Returns DbErrorException
Use case Use this constructor when your code needs a new, ready-to-use DbErrorException object using the supplied message.
How this member is tested

Arrange: valid arguments for DbErrorException.
Act: var subject = new DbErrorException("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized DbErrorException instance; there is no return value, but object state should reflect the constructor arguments.

new DbErrorException(string message, Exception inner)

Creates a new DbErrorException instance using the supplied message, inner.

Kind Constructor
Returns DbErrorException
Use case Use this constructor when your code needs a new, ready-to-use DbErrorException object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for DbErrorException.
Act: var subject = new DbErrorException("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized DbErrorException instance; there is no return value, but object state should reflect the constructor arguments.

DbLockedException

3 members

new DbLockedException()

Creates a new DbLockedException instance.

Kind Constructor
Returns DbLockedException
Use case Use this constructor when your code needs a new, ready-to-use DbLockedException object.
How this member is tested

Arrange: valid arguments for DbLockedException.
Act: var subject = new DbLockedException()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized DbLockedException instance; there is no return value, but object state should reflect the constructor arguments.

new DbLockedException(string message)

Creates a new DbLockedException instance using the supplied message.

Kind Constructor
Returns DbLockedException
Use case Use this constructor when your code needs a new, ready-to-use DbLockedException object using the supplied message.
How this member is tested

Arrange: valid arguments for DbLockedException.
Act: var subject = new DbLockedException("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized DbLockedException instance; there is no return value, but object state should reflect the constructor arguments.

new DbLockedException(string message, Exception inner)

Creates a new DbLockedException instance using the supplied message, inner.

Kind Constructor
Returns DbLockedException
Use case Use this constructor when your code needs a new, ready-to-use DbLockedException object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for DbLockedException.
Act: var subject = new DbLockedException("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized DbLockedException instance; there is no return value, but object state should reflect the constructor arguments.

InvalidArgumentList

3 members

new InvalidArgumentList()

Creates a new InvalidArgumentList instance.

Kind Constructor
Returns InvalidArgumentList
Use case Use this constructor when your code needs a new, ready-to-use InvalidArgumentList object.
How this member is tested

Arrange: valid arguments for InvalidArgumentList.
Act: var subject = new InvalidArgumentList()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized InvalidArgumentList instance; there is no return value, but object state should reflect the constructor arguments.

new InvalidArgumentList(string message)

Creates a new InvalidArgumentList instance using the supplied message.

Kind Constructor
Returns InvalidArgumentList
Use case Use this constructor when your code needs a new, ready-to-use InvalidArgumentList object using the supplied message.
How this member is tested

Arrange: valid arguments for InvalidArgumentList.
Act: var subject = new InvalidArgumentList("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized InvalidArgumentList instance; there is no return value, but object state should reflect the constructor arguments.

new InvalidArgumentList(string message, Exception inner)

Creates a new InvalidArgumentList instance using the supplied message, inner.

Kind Constructor
Returns InvalidArgumentList
Use case Use this constructor when your code needs a new, ready-to-use InvalidArgumentList object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for InvalidArgumentList.
Act: var subject = new InvalidArgumentList("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized InvalidArgumentList instance; there is no return value, but object state should reflect the constructor arguments.

SelectAbortException

3 members

new SelectAbortException()

Creates a new SelectAbortException instance.

Kind Constructor
Returns SelectAbortException
Use case Use this constructor when your code needs a new, ready-to-use SelectAbortException object.
How this member is tested

Arrange: valid arguments for SelectAbortException.
Act: var subject = new SelectAbortException()
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized SelectAbortException instance; there is no return value, but object state should reflect the constructor arguments.

new SelectAbortException(string message)

Creates a new SelectAbortException instance using the supplied message.

Kind Constructor
Returns SelectAbortException
Use case Use this constructor when your code needs a new, ready-to-use SelectAbortException object using the supplied message.
How this member is tested

Arrange: valid arguments for SelectAbortException.
Act: var subject = new SelectAbortException("sample")
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized SelectAbortException instance; there is no return value, but object state should reflect the constructor arguments.

new SelectAbortException(string message, Exception inner)

Creates a new SelectAbortException instance using the supplied message, inner.

Kind Constructor
Returns SelectAbortException
Use case Use this constructor when your code needs a new, ready-to-use SelectAbortException object using the supplied message, inner.
How this member is tested

Arrange: valid arguments for SelectAbortException.
Act: var subject = new SelectAbortException("sample", /* a valid Exception value */)
Assert: the constructor returns without throwing and the resulting object's state reflects the supplied arguments.

Expected: Produces a fully initialized SelectAbortException instance; there is no return value, but object state should reflect the constructor arguments.