org.apache.wicket.util.lang
Class Exceptions
java.lang.Object
org.apache.wicket.util.lang.Exceptions
public class Exceptions
- extends Object
- Author:
- igor.vaynberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
findCause
public static <T extends Throwable> T findCause(Throwable throwable,
Class<T> causeType)
- Type Parameters:
T
- - Parameters:
throwable
- causeType
-
- Returns:
visit
public static <T> T visit(Throwable throwable,
Exceptions.IThrowableVisitor<T> visitor)
- Type Parameters:
T
- - Parameters:
throwable
- visitor
-
- Returns:
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.