org.crsh.util
Class Safe

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

public class Safe
extends Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Safe()
           
 
Method Summary
static void close(Closeable closeable)
           
static void close(Connection connection)
           
static void close(ResultSet rs)
           
static void close(Socket socket)
           
static void close(Statement statement)
           
static
<T extends Throwable>
void
rethrow(Class<T> throwableClass, 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(Socket socket)

close

public static void close(Closeable closeable)

close

public static void close(Connection connection)

close

public static void close(Statement statement)

close

public static void close(ResultSet rs)

rethrow

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


Copyright © 2012 eXo Platform SAS. All Rights Reserved.