Package org.zkoss.zk.ui
Class WrongValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.zkoss.lang.SystemException
org.zkoss.zk.ui.UiException
org.zkoss.zk.ui.OperationException
org.zkoss.zk.ui.WrongValueException
- All Implemented Interfaces:
Serializable,org.zkoss.lang.Expectable,org.zkoss.mesg.Messageable,org.zkoss.mesg.MessageConst
- Direct Known Subclasses:
ArithmeticWrongValueException
Denotes the value passed to a setter (a.k.a., mutator) of a component
is wrong.
- Author:
- tomyeh
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.zkoss.zk.ui.UiException
UiException.AideNested classes/interfaces inherited from interface org.zkoss.mesg.MessageConst
org.zkoss.mesg.MessageConst.BundleInfo -
Field Summary
Fields inherited from class org.zkoss.lang.SystemException
_codeFields inherited from interface org.zkoss.mesg.MessageConst
NULL_CODE -
Constructor Summary
ConstructorsConstructorDescriptionWrongValueException(int code) WrongValueException(int code, Object fmtArg) WrongValueException(int code, Object[] fmtArgs) WrongValueException(int code, Object[] fmtArgs, Throwable cause) WrongValueException(int code, Object fmtArg, Throwable cause) WrongValueException(int code, Throwable cause) WrongValueException(String msg, Throwable cause) WrongValueException(Throwable cause) WrongValueException(Component comp, int code) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, int code, Object fmtArg) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, int code, Object[] fmtArgs) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, String msg) Constructs a wrong value exception to show an error box at the client.WrongValueException(Component comp, String msg, Throwable cause) Constructs a wrong value exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the component that causes this exception, or null.Methods inherited from class org.zkoss.lang.SystemException
getCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrongValueException
Constructs a wrong value exception to show an error box at the client.- Parameters:
comp- the component that causes this exception.
-
WrongValueException
Constructs a wrong value exception to show an error box at the client.- Parameters:
comp- the component that causes this exception.
-
WrongValueException
Constructs a wrong value exception to show an error box at the client.- Parameters:
comp- the component that causes this exception.
-
WrongValueException
Constructs a wrong value exception to show an error box at the client.- Parameters:
comp- the component that causes this exception.
-
WrongValueException
Constructs a wrong value exception.- Since:
- 5.0.11
-
WrongValueException
-
WrongValueException
-
WrongValueException
-
WrongValueException
public WrongValueException() -
WrongValueException
-
WrongValueException
-
WrongValueException
-
WrongValueException
-
WrongValueException
-
WrongValueException
public WrongValueException(int code)
-
-
Method Details
-
getComponent
Returns the component that causes this exception, or null.
-