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

matlabcontrol.link.UnassignableReturnException Maven / Gradle / Ivy

There is a newer version: 4.6.0
Show newest version
/*
 * Code licensed under new-style BSD (see LICENSE).
 * All code up to tags/original: Copyright (c) 2013, Joshua Kaplan
 * All code after tags/original: Copyright (c) 2016, DiffPlug
 */
package matlabcontrol.link;

/**
 * The type to be returned is not assignable to the return type. This exception is conceptually similar to a
 * {@link ClassCastException} except that it is thrown before the cast would ever occur. For primitive return types,
 * this is similar to a {@link NullPointerException} being thrown when the return value is {@code null} and therefore
 * cannot be un-boxed.
 * 
 * @since 4.2.0
 * @author Joshua Kaplan
 */
public class UnassignableReturnException extends RuntimeException {
	private static final long serialVersionUID = 0xE500L;

	UnassignableReturnException(String msg) {
		super(msg);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy