org.odata4j.core
Class Throwables

java.lang.Object
  extended by org.odata4j.core.Throwables

public class Throwables
extends Object

Helper methods for dealing with exceptions in catch clauses.


Constructor Summary
Throwables()
           
 
Method Summary
static RuntimeException propagate(Throwable throwable)
           
static
<X extends Throwable>
void
propagateIfInstanceOf(Throwable throwable, Class<X> declaredType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Throwables

public Throwables()
Method Detail

propagate

public static RuntimeException propagate(Throwable throwable)

propagateIfInstanceOf

public static <X extends Throwable> void propagateIfInstanceOf(Throwable throwable,
                                                               Class<X> declaredType)
                                  throws X extends Throwable
Throws:
X extends Throwable


http://odata4j.org