org.eclipse.jdt.internal.compiler.classfmt
Class ClassFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
- All Implemented Interfaces:
- java.io.Serializable
public class ClassFormatException
- extends java.lang.Exception
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ErrBadMagic
public static final int ErrBadMagic
- See Also:
- Constant Field Values
ErrBadMinorVersion
public static final int ErrBadMinorVersion
- See Also:
- Constant Field Values
ErrBadMajorVersion
public static final int ErrBadMajorVersion
- See Also:
- Constant Field Values
ErrBadConstantClass
public static final int ErrBadConstantClass
- See Also:
- Constant Field Values
ErrBadConstantString
public static final int ErrBadConstantString
- See Also:
- Constant Field Values
ErrBadConstantNameAndType
public static final int ErrBadConstantNameAndType
- See Also:
- Constant Field Values
ErrBadConstantFieldRef
public static final int ErrBadConstantFieldRef
- See Also:
- Constant Field Values
ErrBadConstantMethodRef
public static final int ErrBadConstantMethodRef
- See Also:
- Constant Field Values
ErrBadConstantInterfaceMethodRef
public static final int ErrBadConstantInterfaceMethodRef
- See Also:
- Constant Field Values
ErrBadConstantPoolIndex
public static final int ErrBadConstantPoolIndex
- See Also:
- Constant Field Values
ErrBadSuperclassName
public static final int ErrBadSuperclassName
- See Also:
- Constant Field Values
ErrInterfaceCannotBeFinal
public static final int ErrInterfaceCannotBeFinal
- See Also:
- Constant Field Values
ErrInterfaceMustBeAbstract
public static final int ErrInterfaceMustBeAbstract
- See Also:
- Constant Field Values
ErrBadModifiers
public static final int ErrBadModifiers
- See Also:
- Constant Field Values
ErrClassCannotBeAbstractFinal
public static final int ErrClassCannotBeAbstractFinal
- See Also:
- Constant Field Values
ErrBadClassname
public static final int ErrBadClassname
- See Also:
- Constant Field Values
ErrBadFieldInfo
public static final int ErrBadFieldInfo
- See Also:
- Constant Field Values
ErrBadMethodInfo
public static final int ErrBadMethodInfo
- See Also:
- Constant Field Values
ErrEmptyConstantPool
public static final int ErrEmptyConstantPool
- See Also:
- Constant Field Values
ErrMalformedUtf8
public static final int ErrMalformedUtf8
- See Also:
- Constant Field Values
ErrUnknownConstantTag
public static final int ErrUnknownConstantTag
- See Also:
- Constant Field Values
ErrTruncatedInput
public static final int ErrTruncatedInput
- See Also:
- Constant Field Values
ErrMethodMustBeAbstract
public static final int ErrMethodMustBeAbstract
- See Also:
- Constant Field Values
ErrMalformedAttribute
public static final int ErrMalformedAttribute
- See Also:
- Constant Field Values
ErrBadInterface
public static final int ErrBadInterface
- See Also:
- Constant Field Values
ErrInterfaceMustSubclassObject
public static final int ErrInterfaceMustSubclassObject
- See Also:
- Constant Field Values
ErrIncorrectInterfaceMethods
public static final int ErrIncorrectInterfaceMethods
- See Also:
- Constant Field Values
ErrInvalidMethodName
public static final int ErrInvalidMethodName
- See Also:
- Constant Field Values
ErrInvalidMethodSignature
public static final int ErrInvalidMethodSignature
- See Also:
- Constant Field Values
ClassFormatException
public ClassFormatException(java.lang.RuntimeException e,
char[] fileName)
ClassFormatException
public ClassFormatException(int code)
ClassFormatException
public ClassFormatException(int code,
int bufPos)
getErrorCode
public int getErrorCode()
- Returns:
- int
getBufferPosition
public int getBufferPosition()
- Returns:
- int
getException
public java.lang.Throwable getException()
- Returns the underlying
Throwable
that caused the failure.
- Returns:
- the wrappered
Throwable
, or null
if the direct case of the failure was at the Java model layer
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream output)
- Prints this exception's stack trace to the given print stream.
- Overrides:
printStackTrace
in class java.lang.Throwable
- Parameters:
output
- the print stream- Since:
- 3.0
printStackTrace
public void printStackTrace(java.io.PrintWriter output)
- Prints this exception's stack trace to the given print writer.
- Overrides:
printStackTrace
in class java.lang.Throwable
- Parameters:
output
- the print writer- Since:
- 3.0