org.zkoss.util
Class InvalidValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.zkoss.lang.CommonException
              extended by org.zkoss.util.ModificationException
                  extended by org.zkoss.util.InvalidValueException
All Implemented Interfaces:
java.io.Serializable, Expectable, Messageable, MessageConst

public class InvalidValueException
extends ModificationException
implements Expectable

Denotes an invalid value is passed to a setter method.

Unlike ModificationException, this exception is Expectable, i.e., it is usually user's error, not program's bug.

Author:
tomyeh
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.util.ModificationException
ModificationException.Aide
 
Nested classes/interfaces inherited from interface org.zkoss.mesg.MessageConst
MessageConst.BundleInfo
 
Field Summary
 
Fields inherited from class org.zkoss.lang.CommonException
_code
 
Fields inherited from interface org.zkoss.mesg.MessageConst
NULL_CODE
 
Constructor Summary
InvalidValueException()
           
InvalidValueException(int code)
           
InvalidValueException(int code, java.lang.Object fmtArg)
           
InvalidValueException(int code, java.lang.Object[] fmtArgs)
           
InvalidValueException(int code, java.lang.Object[] fmtArgs, java.lang.Throwable cause)
           
InvalidValueException(int code, java.lang.Object fmtArg, java.lang.Throwable cause)
           
InvalidValueException(int code, java.lang.Throwable cause)
           
InvalidValueException(java.lang.String s)
           
InvalidValueException(java.lang.String msg, java.lang.Throwable cause)
           
InvalidValueException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.zkoss.lang.CommonException
getCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidValueException

public InvalidValueException(java.lang.String msg,
                             java.lang.Throwable cause)

InvalidValueException

public InvalidValueException(java.lang.String s)

InvalidValueException

public InvalidValueException(java.lang.Throwable cause)

InvalidValueException

public InvalidValueException()

InvalidValueException

public InvalidValueException(int code,
                             java.lang.Object[] fmtArgs,
                             java.lang.Throwable cause)

InvalidValueException

public InvalidValueException(int code,
                             java.lang.Object fmtArg,
                             java.lang.Throwable cause)

InvalidValueException

public InvalidValueException(int code,
                             java.lang.Object[] fmtArgs)

InvalidValueException

public InvalidValueException(int code,
                             java.lang.Object fmtArg)

InvalidValueException

public InvalidValueException(int code,
                             java.lang.Throwable cause)

InvalidValueException

public InvalidValueException(int code)


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo