KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > bcel > verifier > exc > VerificationException


1 /*
2  * Copyright 2000-2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */

17 package org.apache.bcel.verifier.exc;
18
19
20 /**
21  * Instances of this class are thrown by BCEL's class file verifier "JustIce" when a
22  * class file to verify does not pass one of the verification passes 2 or 3.
23  * Note that the pass 3 used by "JustIce" involves verification that is usually
24  * delayed to pass 4.
25  * The name of this class is justified by the Java Virtual Machine Specification, 2nd
26  * edition, page 164, 5.4.1 where verification as a part of the linking process is
27  * defined to be the verification happening in passes 2 and 3.
28  *
29  * @version $Id: VerificationException.java 371539 2006-01-23 14:08:00Z tcurdt $
30  * @author Enver Haase
31  */

32 public abstract class VerificationException extends VerifierConstraintViolatedException{
33     /**
34      * Constructs a new VerificationException with null as its error message string.
35      */

36     VerificationException(){
37         super();
38     }
39     /**
40      * Constructs a new VerificationException with the specified error message.
41      */

42     VerificationException(String JavaDoc message){
43         super(message);
44     }
45 }
46
Popular Tags