ReflectionException.java :  » Development » JOpt-Simple » joptsimple » Java Open Source

Java Open Source » Development » JOpt Simple 
JOpt Simple » joptsimple » ReflectionException.java
/*
 Copyright 2004-2007 Paul R. Holser, Jr.  All rights reserved.
 Licensed under the Academic Free License version 3.0
 */

package joptsimple;

/**
 * This unchecked exception wraps reflection-oriented exceptions.
 *
 * @since 2.0
 * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
 * @version $Id: ReflectionException.java,v 1.10 2007/04/10 20:06:25 pholser Exp $
 */
class ReflectionException extends RuntimeException {
    private static final long serialVersionUID = -2L;

    ReflectionException( Throwable cause ) {
        super( cause.toString() + ": " + cause.getMessage() );
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.