org.zkoss.util
Class ModificationException.Aide

java.lang.Object
  extended by org.zkoss.util.ModificationException.Aide
Enclosing class:
ModificationException

public static class ModificationException.Aide
extends java.lang.Object

Utilities.

The reason to use a class to hold static utilities is we can override the method's return type later.


Constructor Summary
ModificationException.Aide()
           
 
Method Summary
static ModificationException wrap(java.lang.Throwable t)
          Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.
static ModificationException wrap(java.lang.Throwable t, int code)
          Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.
static ModificationException wrap(java.lang.Throwable t, int code, java.lang.Object fmtArg)
          Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.
static ModificationException wrap(java.lang.Throwable t, int code, java.lang.Object[] fmtArgs)
          Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.
static ModificationException wrap(java.lang.Throwable t, java.lang.String msg)
          Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModificationException.Aide

public ModificationException.Aide()
Method Detail

wrap

public static ModificationException wrap(java.lang.Throwable t)
Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.

See Also:
Exceptions.wrap(java.lang.Throwable, java.lang.Class)

wrap

public static ModificationException wrap(java.lang.Throwable t,
                                         java.lang.String msg)
Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.

See Also:
Exceptions.wrap(java.lang.Throwable, java.lang.Class)

wrap

public static ModificationException wrap(java.lang.Throwable t,
                                         int code,
                                         java.lang.Object[] fmtArgs)
Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.

See Also:
Exceptions.wrap(java.lang.Throwable, java.lang.Class)

wrap

public static ModificationException wrap(java.lang.Throwable t,
                                         int code,
                                         java.lang.Object fmtArg)
Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.

See Also:
Exceptions.wrap(java.lang.Throwable, java.lang.Class)

wrap

public static ModificationException wrap(java.lang.Throwable t,
                                         int code)
Converts an exception to ModificationException or InvalidValueException depending on whether t implements Expectable.

See Also:
Exceptions.wrap(java.lang.Throwable, java.lang.Class)


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