Class ClassFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.springframework.core.type.classreading.ClassFormatException
- All Implemented Interfaces:
Serializable
Exception that indicates an incompatible class format encountered
in a class file during metadata reading.
- Since:
- 6.1.2
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionClassFormatException
(String message) Construct a newClassFormatException
with the supplied message.ClassFormatException
(String message, Throwable cause) Construct a newClassFormatException
with the supplied message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClassFormatException
Construct a newClassFormatException
with the supplied message.- Parameters:
message
- the detail message
-
ClassFormatException
Construct a newClassFormatException
with the supplied message and cause.- Parameters:
message
- the detail messagecause
- the root cause
-