lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.generator.InvalidSourceException Class Reference

This exception is thrown when a program fails a validity check performed by a code generator (and not the validator). More...

Inherits RuntimeException.

Public Member Functions

 InvalidSourceException (String message)
 Create a new instance of the exception with the given message.

Detailed Description

This exception is thrown when a program fails a validity check performed by a code generator (and not the validator).

This should be thrown only when local control flow cannot recover, otherwise using GeneratorBase#messageReporter should be preferred, in order to collect more errors before failing.

Author
Clément Fournier

Constructor & Destructor Documentation

◆ InvalidSourceException()

org.lflang.generator.InvalidSourceException.InvalidSourceException ( String message)

Create a new instance of the exception with the given message.


The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/InvalidSourceException.java