01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: VisitInterruptionException.java 3811 2007-06-25 15:06:16Z gbevin $
07: */
08: package com.uwyn.rife.instrument.exceptions;
09:
10: /**
11: * This is an internal exception that is used whenever the bytecode of a
12: * class is being visited and the analysis has to be interrupted in the
13: * middle.
14: * <p>NOTE: this exception is not intended to be caught or to be used inside
15: * your own code
16: *
17: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
18: * @version $Revision: 3811 $
19: * @since 1.6
20: */
21: public class VisitInterruptionException extends Error {
22: private static final long serialVersionUID = -1193837716595477767L;
23:
24: public VisitInterruptionException() {
25: super ("handled visit");
26: }
27:
28: public Throwable fillInStackTrace() {
29: return null;
30: }
31:
32: public StackTraceElement[] getStackTrace() {
33: return new StackTraceElement[0];
34: }
35: }
|