
jp.go.nict.langrid.commons.lang.function.Functions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jp.go.nict.langrid.commons Show documentation
Show all versions of jp.go.nict.langrid.commons Show documentation
Common and utility library for the Service Grid Server Software and java web services.
The newest version!
package jp.go.nict.langrid.commons.lang.function;
public class Functions {
public interface RunnableE{
void run() throws E;
}
public static Runnable soften(final RunnableE r){
return new Runnable(){
@Override
public void run() {
try{
r.run();
} catch(Exception e){
throw new SoftException(e);
}
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy