litesoft
@ 948
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / shared / utils / Throwables.java
1 2 3 4 5 6 7 8 |
package com.temp.shared.utils; public class Throwables { public static RuntimeException asRuntimeException( Throwable t ) { return t instanceof RuntimeException ? (RuntimeException) t : new RuntimeException( t ); } } |