ClassParseException.java :  » Code-Analyzer » macker » net » innig » macker » structure » Java Open Source

Java Open Source » Code Analyzer » macker 
macker » net » innig » macker » structure » ClassParseException.java
/*______________________________________________________________________________
 *
 * Macker   http://innig.net/macker/
 *
 * Copyright 2002-2003 Paul Cantrell
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License version 2, as published by the
 * Free Software Foundation. See the file LICENSE.html for more information.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY, including the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the license for more details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc. / 59 Temple
 * Place, Suite 330 / Boston, MA 02111-1307 / USA.
 *______________________________________________________________________________
 */
 
package net.innig.macker.structure;

import org.apache.bcel.classfile.*;

import org.apache.commons.lang.exception.NestableException;

/**
    A class file was found, but was unparsable.
*/
public class ClassParseException
    extends NestableException
    {
    public ClassParseException(String message)
        { super(message); }
        
    public ClassParseException(String message, JavaClass classFile)
        { super(message + "\n" + classFile); }
        
    public ClassParseException(ClassFormatError cfe)
        { super(cfe); }
    }
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.