This annotation can be applied to a remote method of a remote interface to
suppress RMI faults and exceptions. If a remote method is annotated with this
annotation, it should not be declared to throw
RemoteException
. Be
careful using this annotation, it changes the semantics of remote method and
it does not allow the application to notice any stub fault, such as the
expiration of a remote pointer.
Each method which encounter an RMI fault and suppress it will return the
default value for its return type. The default values are
0
for
all numerical primitive (such as int) and non-primitive (such as
Integer
) types,
false
for the boolean type and
null
for object types.