List of usage examples for android.os RemoteException initCause
public synchronized Throwable initCause(Throwable cause)
From source file:org.droid2droid.internal.AbstractRemoteAndroidImpl.java
@Override public void dumpAsync(FileDescriptor arg0, String[] arg1) throws RemoteException { RemoteException re = new RemoteException(); re.initCause(new MethodNotSupportedException("dumpAsync")); throw re;//from w w w. jav a2s .c o m }