📄 wrongvalueexception.java
字号:
/* WrongValueException.java{{IS_NOTE Purpose: Description: History: Mon Aug 8 18:30:24 2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zk.ui;/** * Denotes the value passed to a setter (aka., mutator) of a component * is wrong. * * @author tomyeh */public class WrongValueException extends OperationException { private Component _comp; /** @param comp the component that causes this exception. */ public WrongValueException(Component comp, String msg) { super(msg); _comp = comp; } /** @param comp the component that causes this exception. */ public WrongValueException(Component comp, int code, Object[] fmtArgs) { super(code, fmtArgs); _comp = comp; } /** @param comp the component that causes this exception. */ public WrongValueException(Component comp, int code, Object fmtArg) { super(code, fmtArg); _comp = comp; } /** @param comp the component that causes this exception. */ public WrongValueException(Component comp, int code) { super(code); _comp = comp; } public WrongValueException(String msg, Throwable cause) { super(msg, cause); } public WrongValueException(String s) { super(s); } public WrongValueException(Throwable cause) { super(cause); } public WrongValueException() { } public WrongValueException(int code, Object[] fmtArgs, Throwable cause) { super(code, fmtArgs, cause); } public WrongValueException(int code, Object fmtArg, Throwable cause) { super(code, fmtArg, cause); } public WrongValueException(int code, Object[] fmtArgs) { super(code, fmtArgs); } public WrongValueException(int code, Object fmtArg) { super(code, fmtArg); } public WrongValueException(int code, Throwable cause) { super(code, cause); } public WrongValueException(int code) { super(code); } /** Returns the component that causes this exception, or null. */ public Component getComponent() { return _comp; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -