Get class with Treasure annotation

This commit is contained in:
jeffcheasey88 2023-10-18 15:27:54 +02:00
parent b17ce88e11
commit 26ff3c3fab
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -5,6 +5,7 @@ import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
@ -77,7 +78,7 @@ public class TreasureProcessor extends AbstractProcessor{
process(source, output, file, javaFile);
}catch(Exception ex){
error(source, output, file, ex);
throw ex;
throw new Exception(file.getName()+" | "+ex.getMessage());
}
}