Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/SlowPathException.java @ 9258:07f8d136a05e
Truffle API changes for the Frame API. Introduction of Assumptions class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 23 Apr 2013 15:34:06 +0200 |
parents | 5e3d1a68664e |
children | 9db1377b0580 |
comparison
equal
deleted
inserted
replaced
9257:542712a4732a | 9258:07f8d136a05e |
---|---|
31 private static final long serialVersionUID = 3676602078425211386L; | 31 private static final long serialVersionUID = 3676602078425211386L; |
32 | 32 |
33 /** | 33 /** |
34 * Creates an exception thrown to enter a slow path. | 34 * Creates an exception thrown to enter a slow path. |
35 */ | 35 */ |
36 public SlowPathException() { | |
37 } | |
38 | |
39 /** | |
40 * Creates an exception thrown to enter a slow path. | |
41 */ | |
36 public SlowPathException(String message, Throwable cause) { | 42 public SlowPathException(String message, Throwable cause) { |
37 super(message, cause); | 43 super(message, cause); |
38 } | 44 } |
45 | |
46 /** | |
47 * Creates an exception thrown to enter a slow path. | |
48 */ | |
49 public SlowPathException(String message) { | |
50 super(message); | |
51 } | |
52 | |
53 /** | |
54 * Creates an exception thrown to enter a slow path. | |
55 */ | |
56 public SlowPathException(Throwable cause) { | |
57 super(cause); | |
58 } | |
59 | |
60 /** | |
61 * For performance reasons, this exception does not record any stack trace information. | |
62 */ | |
63 @SuppressWarnings("sync-override") | |
64 @Override | |
65 public Throwable fillInStackTrace() { | |
66 return null; | |
67 } | |
39 } | 68 } |