org.apache.wicket.util.lang
Class Exceptions

java.lang.Object
  extended by org.apache.wicket.util.lang.Exceptions

public class Exceptions
extends java.lang.Object


Nested Class Summary
static interface Exceptions.IThrowableVisitor<T>
           
static class Exceptions.Visit<T>
          Represents a visit
 
Method Summary
static
<T extends java.lang.Throwable>
T
findCause(java.lang.Throwable throwable, java.lang.Class<T> causeType)
           
static
<T> T
visit(java.lang.Throwable throwable, Exceptions.IThrowableVisitor<T> visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findCause

public static <T extends java.lang.Throwable> T findCause(java.lang.Throwable throwable,
                                                          java.lang.Class<T> causeType)

visit

public static <T> T visit(java.lang.Throwable throwable,
                          Exceptions.IThrowableVisitor<T> visitor)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.