org.zkoss.util
Class ModificationException

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
All Implemented Interfaces:
java.io.Serializable, Messageable, MessageConst
Direct Known Subclasses:
InvalidValueException

public class ModificationException
extends CommonException

Denotes a modification fails. It is considered as a program bug, while InvalidValueException is considered as an operational error of user.

The create, remove and setter method of peristent beans (i3pb) must declare this exception. Besides this exception and, InvalidValueException, org.zkoss.i3.pb.RemoveException and org.zkoss.i3.pb.CreateException, who derive from this class, might be thrown

Author:
tomyeh
See Also:
Serialized Form

Nested Class Summary
static class ModificationException.Aide
          Utilities.
 
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
ModificationException()
           
ModificationException(int code)
           
ModificationException(int code, java.lang.Object fmtArg)
           
ModificationException(int code, java.lang.Object[] fmtArgs)
           
ModificationException(int code, java.lang.Object[] fmtArgs, java.lang.Throwable cause)
           
ModificationException(int code, java.lang.Object fmtArg, java.lang.Throwable cause)
           
ModificationException(int code, java.lang.Throwable cause)
           
ModificationException(java.lang.String s)
           
ModificationException(java.lang.String msg, java.lang.Throwable cause)
           
ModificationException(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

ModificationException

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

ModificationException

public ModificationException(java.lang.String s)

ModificationException

public ModificationException(java.lang.Throwable cause)

ModificationException

public ModificationException()

ModificationException

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

ModificationException

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

ModificationException

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

ModificationException

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

ModificationException

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

ModificationException

public ModificationException(int code)


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