Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.jvmci.common/src/com/oracle/jvmci/common/JVMCIError.java @ 21565:f5b549811bac
fixed eclipseformat issues
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 29 May 2015 00:35:10 +0200 |
parents | 93c50cefb9e8 |
children |
comparison
equal
deleted
inserted
replaced
21564:2270a708ef23 | 21565:f5b549811bac |
---|---|
51 public static RuntimeException shouldNotReachHere(Throwable cause) { | 51 public static RuntimeException shouldNotReachHere(Throwable cause) { |
52 throw new JVMCIError(cause); | 52 throw new JVMCIError(cause); |
53 } | 53 } |
54 | 54 |
55 /** | 55 /** |
56 * Checks a given condition and throws a {@link JVMCIError} if it is false. Guarantees | 56 * Checks a given condition and throws a {@link JVMCIError} if it is false. Guarantees are |
57 * are stronger than assertions in that they are always checked. Error messages for guarantee | 57 * stronger than assertions in that they are always checked. Error messages for guarantee |
58 * violations should clearly indicate the nature of the problem as well as a suggested solution | 58 * violations should clearly indicate the nature of the problem as well as a suggested solution |
59 * if possible. | 59 * if possible. |
60 * | 60 * |
61 * @param condition the condition to check | 61 * @param condition the condition to check |
62 * @param msg the message that will be associated with the error, in | 62 * @param msg the message that will be associated with the error, in |