I have created a JAR file named "FileProcessor.jar" which consist of:
public class FileProcessor{
public static void main(String[] args){
try{
// logic
}catch(Exception ex){
// catch logic
}
}
}
I need to run different logic according to the output of the jar file. If an exception arises I need to call a different jar file.