org.bcos.web3j.utils.Console Maven / Gradle / Ivy
package org.bcos.web3j.utils;
/**
* Command line utility classes.
*/
public class Console {
public static void exitError(String message) {
System.err.println(message);
System.exit(1);
}
public static void exitError(Throwable throwable) {
exitError(throwable.getMessage());
}
public static void exitSuccess(String message) {
System.out.println(message);
System.exit(0);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy