Neo4j Enterprise

org.neo4j.helpers
Class Exceptions

java.lang.Object
  extended by org.neo4j.helpers.Exceptions

public class Exceptions
extends java.lang.Object


Method Summary
static
<T extends java.lang.Throwable>
T
launderedException(java.lang.Class<T> type, java.lang.String messageForUnexpected, java.lang.Throwable exception)
           
static
<T extends java.lang.Throwable>
T
launderedException(java.lang.Class<T> type, java.lang.Throwable exception)
           
static java.lang.RuntimeException launderedException(java.lang.String messageForUnexpected, java.lang.Throwable exception)
           
static java.lang.RuntimeException launderedException(java.lang.Throwable exception)
           
static
<T extends java.lang.Throwable>
T
withCause(T exception, java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withCause

public static <T extends java.lang.Throwable> T withCause(T exception,
                                                          java.lang.Throwable cause)

launderedException

public static java.lang.RuntimeException launderedException(java.lang.Throwable exception)

launderedException

public static java.lang.RuntimeException launderedException(java.lang.String messageForUnexpected,
                                                            java.lang.Throwable exception)

launderedException

public static <T extends java.lang.Throwable> T launderedException(java.lang.Class<T> type,
                                                                   java.lang.Throwable exception)

launderedException

public static <T extends java.lang.Throwable> T launderedException(java.lang.Class<T> type,
                                                                   java.lang.String messageForUnexpected,
                                                                   java.lang.Throwable exception)

Neo4j Enterprise

Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.