Searched refs:errorName (Results 1 – 2 of 2) sorted by relevance
53 String errorName = null; in testErrorNames() local56 errorName = getErrorName(i); in testErrorNames()62 (errorName != null || (error != null && !lastError.equals(error)))) { in testErrorNames()68 if (errorName != null) { in testErrorNames()69 System.out.println(i + " = " + errorName); in testErrorNames()
33 private static void $opt$NewInstance(String method, String errorName) throws Throwable { in $opt$NewInstance() argument38 throw new RuntimeException("Failed to throw " + errorName); in $opt$NewInstance()40 if (!e.getCause().getClass().getCanonicalName().equals(errorName)) { in $opt$NewInstance()41 throw new RuntimeException("Failed to throw " + errorName in $opt$NewInstance()