< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ClassGenException.java

Print this page




   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.generic;
  23 
  24 /**
  25  * Thrown on internal errors. Extends RuntimeException so it hasn't to be declared
  26  * in the throws clause every time.
  27  *
  28  * @version $Id$
  29  */
  30 public class ClassGenException extends RuntimeException {
  31 
  32     private static final long serialVersionUID = 7247369755051242791L;
  33 
  34     public ClassGenException() {
  35         super();
  36     }
  37 
  38 
  39     public ClassGenException(final String s) {
  40         super(s);
  41     }
  42 
  43     public ClassGenException(final String s, final Throwable initCause) {
  44         super(s, initCause);
  45     }
  46 }


   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.generic;
  23 
  24 /**
  25  * Thrown on internal errors. Extends RuntimeException so it hasn't to be declared
  26  * in the throws clause every time.
  27  *

  28  */
  29 public class ClassGenException extends RuntimeException {
  30 
  31     private static final long serialVersionUID = 7247369755051242791L;
  32 
  33     public ClassGenException() {
  34         super();
  35     }
  36 
  37 
  38     public ClassGenException(final String s) {
  39         super(s);
  40     }
  41 
  42     public ClassGenException(final String s, final Throwable initCause) {
  43         super(s, initCause);
  44     }
  45 }
< prev index next >