All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minidev.asm.ex.ConvertException Maven / Gradle / Ivy

Go to download

Java reflect give poor performance on getter setter an constructor calls, accessors-smart use ASM to speed up those calls.

The newest version!
package net.minidev.asm.ex;

/**
 * An exception that is thrown to indicate a problem occurred during a conversion process.
 * This class extends {@link RuntimeException} and is used to signify errors encountered
 * while converting between types, typically within a dynamic type conversion framework or library.
 */
public class ConvertException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	/**
     * Constructs a new {@code ConvertException} with {@code null} as its detail message.
     * The cause is not initialized, and may subsequently be initialized by a call to {@link #initCause}.
     */
	public ConvertException() {
		super();
	}
	
	/**
     * Constructs a new {@code ConvertException} with the specified detail message.
     * The cause is not initialized, and may subsequently be initialized by a call to {@link #initCause}.
     *
     * @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method.
     */
	public ConvertException(String message) {
		super(message);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy