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(Socket socket)
           
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)

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.