Package org.eclipse.jdt.core.util
Class ClassFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jdt.core.util.ClassFormatException
- All Implemented Interfaces:
Serializable
Exception thrown by a class file reader when encountering a error in decoding
information contained in a .class file.
- Since:
- 2.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionClassFormatException
(int errorID) Constructor for ClassFormatException.ClassFormatException
(String message) Constructor for ClassFormatException.ClassFormatException
(String message, Throwable cause) Constructor for ClassFormatException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_MALFORMED_UTF8
public static final int ERROR_MALFORMED_UTF8- See Also:
-
ERROR_TRUNCATED_INPUT
public static final int ERROR_TRUNCATED_INPUT- See Also:
-
INVALID_CONSTANT_POOL_ENTRY
public static final int INVALID_CONSTANT_POOL_ENTRY- See Also:
-
TOO_MANY_BYTES
public static final int TOO_MANY_BYTES- See Also:
-
INVALID_ARGUMENTS_FOR_INVOKEINTERFACE
public static final int INVALID_ARGUMENTS_FOR_INVOKEINTERFACE- See Also:
-
INVALID_BYTECODE
public static final int INVALID_BYTECODE- See Also:
-
INVALID_TAG_CONSTANT
public static final int INVALID_TAG_CONSTANT- Since:
- 3.0
- See Also:
-
INVALID_MAGIC_NUMBER
public static final int INVALID_MAGIC_NUMBER- Since:
- 3.0
- See Also:
-
-
Constructor Details
-
ClassFormatException
public ClassFormatException(int errorID) Constructor for ClassFormatException.- Parameters:
errorID
- the given error ID
-
ClassFormatException
Constructor for ClassFormatException.- Parameters:
message
- the message for the exception
-
ClassFormatException
Constructor for ClassFormatException.- Parameters:
message
- the message for the exceptioncause
- the cause of the exception- Since:
- 3.5
-