01: package com.uwyn.rife.instrument.exceptions;
02:
03: /**
04: * This exception is thrown and when the bytecode for a class couldn't be
05: * found.
06: *
07: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
08: * @version $Revision: 3811 $
09: * @since 1.6
10: */
11: public class ClassBytesNotFoundException extends Exception {
12: private static final long serialVersionUID = -7419114745142128756L;
13:
14: private String mFilename;
15:
16: public ClassBytesNotFoundException(String filename, Throwable cause) {
17: super (
18: "Unexpected exception while loading the bytes of class file '"
19: + filename + "'.", cause);
20:
21: mFilename = filename;
22: }
23:
24: public String getFilename() {
25: return mFilename;
26: }
27: }
|