Lines Matching refs:msg
40 public static RuntimeException unimplemented(String msg) {
41 throw new GraalError("unimplemented: %s", msg);
48 public static RuntimeException shouldNotReachHere(String msg) {
49 throw new GraalError("should not reach here: %s", msg);
63 * @param msg the message that will be associated with the error, in
67 public static void guarantee(boolean condition, String msg, Object... args) {
69 throw new GraalError("failed guarantee: " + msg, args);
76 * @param msg the message that will be associated with the error
78 public GraalError(String msg) {
79 super(msg);
87 * @param msg the message that will be associated with the error, in String.format syntax
91 public GraalError(String msg, Object... args) {
92 super(format(msg, args));
125 private static String format(String msg, Object... args) {
138 return String.format(Locale.ENGLISH, msg, args);