Subversion Repository Public Repository

litesoft

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 );
    }
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/shared/utils/Throwables.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

626 GeorgeS picture GeorgeS Wed 11 Apr, 2012 19:39:41 +0000