Aztec® Programming Language
Version 1.1 Alpha 2

Copyright © 2010-2017, Aztec Development Group, All Rights Reserved

Download Aztec

Search        Contact Us

She is all that I have left...

And music is her name.

- Stephen Stills, Rick Curtis and Michael Curtis

 

aztec.system.DomainException

public class DomainException from<MathException>

Base

Event

ExceptionEvent

MathException

DomainException

The DomainException class is fired by the system when a domain error occurs within an Aztec expression or method call. A domain error indicates that an input parameter is not within an acceptable range (e.g. a negative number passed to Sqrt() or Ln()).

 

Domain exception events are created and fired internally by the Aztec VM when it encounters domain related math errors. These exceptions can occur using primitive methods and using Aztec operators. Domain exceptions can also be manually created and fired by user defined code.

DomainException Methods

DomainException() Constructor for the DomainException class

Derived Classes

See Also

  


DomainException()

public method DomainException(float Value1, float Value2, int OperatorId, bool IsFloatExpression = true)

Parameters

Value1

The first value in the expression

Value2

The second value in the expression (if applicable)

OperatorId

Integer Id associated with operator which encountered the math error

IsFloatExpression

True if float expression and false if not (true by default)

Return Value

None

Description

Constructor for the DomainException class.

 

DomainException Class

 

Copyright © 2010-2017

Aztec Development Group

All Rights Reserved

Download Aztec