|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.bcel.verifier.exc.VerifierConstraintViolatedException
public abstract class VerifierConstraintViolatedException
Instances of this class are thrown by BCEL's class file verifier "JustIce" whenever verification proves that some constraint of a class file (as stated in the Java Virtual Machine Specification, Edition 2) is violated. This is roughly equivalent to the VerifyError the JVM-internal verifiers throw.
| Field Summary | |
|---|---|
private java.lang.String |
detailMessage
The specified error message. |
| Constructor Summary | |
|---|---|
VerifierConstraintViolatedException()
Constructs a new VerifierConstraintViolatedException with null as its error message string. |
|
VerifierConstraintViolatedException(java.lang.String message)
Constructs a new VerifierConstraintViolatedException with the specified error message. |
|
| Method Summary | |
|---|---|
void |
extendMessage(java.lang.String pre,
java.lang.String post)
Extends the error message with a string before ("pre") and after ("post") the 'old' error message. |
java.lang.String |
getMessage()
Returns the error message string of this VerifierConstraintViolatedException object. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String detailMessage
| Constructor Detail |
|---|
VerifierConstraintViolatedException()
VerifierConstraintViolatedException(java.lang.String message)
| Method Detail |
|---|
public void extendMessage(java.lang.String pre,
java.lang.String post)
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||