相关代码 |
|
package org.j3de.ui; public class WrongParameterException extends Exception { public WrongParameterException(Class constraintClass, Class formalParameter, Class actualParameter) { super("Constraint " + constraintClass + " expects a parameter of type " + formalParameter + " not " + actualParameter); } }