com.sun.enterprise.util
Class Result<T>
java.lang.Object
com.sun.enterprise.util.Result<T>
public class Result<T>
- extends Object
Used to carry a result or an exception justifying why a result could not be produced
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Result
public Result(T result)
Result
public Result(Throwable t)
isSuccess
public boolean isSuccess()
isFailure
public boolean isFailure()
result
public T result()
exception
public Throwable exception()
Copyright © 2012 GlassFish Community. All Rights Reserved.