More documentation.

This commit is contained in:
Jindra Petřík
2024-08-08 19:27:14 +02:00
parent 68954e714d
commit b57e38e387
286 changed files with 11752 additions and 3576 deletions
@@ -17,15 +17,26 @@
package com.jpexs.decompiler.graph;
/**
*
* Compilation exception.
* @author JPEXS
*/
public class CompilationException extends Exception {
/**
* Line number.
*/
public int line;
/**
* Error message.
*/
public String text;
/**
* Constructs a new compilation exception.
* @param message Error message
* @param line Line number
*/
public CompilationException(String message, int line) {
super("Compilation error on line " + line + ": " + message);
this.line = line;