class StandardCommandsGenerator {

    public String tryCatch(String tryValue, String exceptionToCatch, String ifException) {
        return "try{" +
                tryValue +
                "} catch (" + exceptionToCatch + ") {" +
                ifException +
                "}";
    }

}