Class TakeAlternativeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.bandm.tools.formatfrontends.runtime.TakeAlternativeException
All Implemented Interfaces:
Serializable

public class TakeAlternativeException extends RuntimeException
Runtime class for formatting visitors, thrown out of an expression on the left side of a "?" operator, iff the right side shall be taken instead. In all generated code there will be convenience method with the name GenericCompiler.NAME_METHOD_THROW_TAKE_ALTERNATIVE (normally this sould be "__throwIt" !-) to construct and throw a new instance.

Instances of this exception class have no detail message, cause or stack trace; they are only useful for transfer of control.

See Also:
  • Constructor Details

    • TakeAlternativeException

      public TakeAlternativeException()