< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ClassFormatException.java

Print this page




   4  */
   5 /*
   6  * Licensed to the Apache Software Foundation (ASF) under one or more
   7  * contributor license agreements.  See the NOTICE file distributed with
   8  * this work for additional information regarding copyright ownership.
   9  * The ASF licenses this file to You under the Apache License, Version 2.0
  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.bcel.internal.classfile;
  23 
  24 
  25 /**
  26  * Thrown when the BCEL attempts to read a class file and determines
  27  * that the file is malformed or otherwise cannot be interpreted as a
  28  * class file.
  29  *
  30  * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  31  */
  32 public class ClassFormatException extends RuntimeException {
  33   public ClassFormatException() { super(); }
  34   public ClassFormatException(String s) { super(s); }
















  35 }


   4  */
   5 /*
   6  * Licensed to the Apache Software Foundation (ASF) under one or more
   7  * contributor license agreements.  See the NOTICE file distributed with
   8  * this work for additional information regarding copyright ownership.
   9  * The ASF licenses this file to You under the Apache License, Version 2.0
  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.bcel.internal.classfile;
  23 

  24 /**
  25  * Thrown when the BCEL attempts to read a class file and determines
  26  * that the file is malformed or otherwise cannot be interpreted as a
  27  * class file.
  28  *
  29  * @version $Id: ClassFormatException.java 1748973 2016-06-18 12:14:42Z sebb $
  30  */
  31 public class ClassFormatException extends RuntimeException {
  32 
  33     private static final long serialVersionUID = -3569097343160139969L;
  34 
  35     public ClassFormatException() {
  36         super();
  37     }
  38 
  39 
  40     public ClassFormatException(final String s) {
  41         super(s);
  42     }
  43 
  44     /**
  45      * @since 6.0
  46      */
  47     public ClassFormatException(final String message, final Throwable cause) {
  48         super(message, cause);
  49     }
  50 }
< prev index next >