org.zkoss.xel
Class XelException.Aide

java.lang.Object
  extended by org.zkoss.xel.XelException.Aide
Enclosing class:
XelException

public static class XelException.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
XelException.Aide()
           
 
Method Summary
static XelException wrap(java.lang.Throwable t)
          Converts an exception to XelException if it is not RuntimeException nor Error.
static XelException wrap(java.lang.Throwable t, int code)
          Converts an exception to XelException if it is not RuntimeException nor Error.
static XelException wrap(java.lang.Throwable t, int code, java.lang.Object fmtArg)
          Converts an exception to XelException if it is not RuntimeException nor Error.
static XelException wrap(java.lang.Throwable t, int code, java.lang.Object[] fmtArgs)
          Converts an exception to XelException if it is not RuntimeException nor Error.
static XelException wrap(java.lang.Throwable t, java.lang.String msg)
          Converts an exception to XelException if it is not RuntimeException nor Error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XelException.Aide

public XelException.Aide()
Method Detail

wrap

public static XelException wrap(java.lang.Throwable t)
Converts an exception to XelException if it is not RuntimeException nor Error.

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

wrap

public static XelException wrap(java.lang.Throwable t,
                                java.lang.String msg)
Converts an exception to XelException if it is not RuntimeException nor Error.

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

wrap

public static XelException wrap(java.lang.Throwable t,
                                int code,
                                java.lang.Object[] fmtArgs)
Converts an exception to XelException if it is not RuntimeException nor Error.

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

wrap

public static XelException wrap(java.lang.Throwable t,
                                int code,
                                java.lang.Object fmtArg)
Converts an exception to XelException if it is not RuntimeException nor Error.

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

wrap

public static XelException wrap(java.lang.Throwable t,
                                int code)
Converts an exception to XelException if it is not RuntimeException nor Error.

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


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