01: /*
02: Copyright 2004-2007 Paul R. Holser, Jr. All rights reserved.
03: Licensed under the Academic Free License version 3.0
04: */
05:
06: package joptsimple;
07:
08: /**
09: * This unchecked exception wraps reflection-oriented exceptions.
10: *
11: * @since 2.0
12: * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
13: * @version $Id: ReflectionException.java,v 1.10 2007/04/10 20:06:25 pholser Exp $
14: */
15: class ReflectionException extends RuntimeException {
16: private static final long serialVersionUID = -2L;
17:
18: ReflectionException(Throwable cause) {
19: super (cause.toString() + ": " + cause.getMessage());
20: }
21: }
|