类的使用
xyz.lhbk.result.Result
使用Result的程序包
-
xyz.lhbk.handler中Result的使用
返回Result的xyz.lhbk.handler中的方法修饰符和类型方法说明Result<?>ExceptionHandler_0.handleBusinessException(MyException myException)Result<?>ExceptionHandler_0.handleException(Exception ex) -
xyz.lhbk.result中Result的使用
返回Result的xyz.lhbk.result中的方法修饰符和类型方法说明static <T> Result<T>Result.defaultError()static <T> Result<T>Result.error(MyException myException)static <T> Result<T>Result.success()static <T> Result<T>Result.success(T data)