@Documented @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface RemoteFailure
RemoteException, and it must be declared to be thrown.
@RemoteFailure(exception=SQLException.class) int executeUpdate(String sql) throws SQLException;
public abstract Class<? extends Throwable> exception
RemoteException (or a superclass), then it must support exception
chaining. A public constructor must exist which accepts a single
argument of RemoteException or a superclass.Copyright © 2006–2015 Cojen. All rights reserved.