Package net.minidev.asm.ex
Class ConvertException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.minidev.asm.ex.ConvertException
- All Implemented Interfaces:
Serializable
An exception that is thrown to indicate a problem occurred during a conversion process.
This class extends
RuntimeException and is used to signify errors encountered
while converting between types, typically within a dynamic type conversion framework or library.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConvertExceptionwithnullas its detail message.ConvertException(String message) Constructs a newConvertExceptionwith the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConvertException
public ConvertException()Constructs a newConvertExceptionwithnullas its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable). -
ConvertException
Constructs a newConvertExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable).- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-