<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * Used for semantic exceptions generated while compiling a Bali program.
 */
public class BaliSemanticException extends BaliException {
    
    /* Constructors */
    public BaliSemanticException () {}
    public BaliSemanticException (String message) {super(message);}
    public BaliSemanticException (int line) {super(line);}
    public BaliSemanticException (String message, int line) {super(message, line);}
    
    /* Retrieving information */
    public String toString () {
        return "Semantic Error: " + super.toString();
    }
}
</pre></body></html>