Code example for RemoteException

Methods: toString

0
     */ 
    private static final long serialVersionUID = 8950974759973459561L;
 
    public AntRemoteException(RemoteException e)
    { 
        this("ANT Interface error, ANT Radio Service remote error: "+e.toString(), e);
    } 
     
    public AntRemoteException(String string, RemoteException e)
    { 
        super(string);
         
        this.initCause(e);
    } 
}