org.crsh.util
Class Safe

java.lang.Object
  extended by org.crsh.util.Safe

public class Safe
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Safe()
           
 
Method Summary
static void close(java.io.Closeable closeable)
           
static
<T extends java.lang.Throwable>
void
rethrow(java.lang.Class<T> throwableClass, java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Safe

public Safe()
Method Detail

close

public static void close(java.io.Closeable closeable)

rethrow

public static <T extends java.lang.Throwable> void rethrow(java.lang.Class<T> throwableClass,
                                                           java.lang.Throwable cause)
                    throws T extends java.lang.Throwable
Throws:
T extends java.lang.Throwable


Copyright © 2010 eXo Platform SAS. All Rights Reserved.