List of usage examples for android.os DeadObjectException DeadObjectException
public DeadObjectException()
From source file:edu.umich.oasis.service.Handle.java
public void marshalOut() { synchronized (mSyncRoot) { checkComplete();/*from w w w.jav a 2 s. co m*/ if (isMarshalled()) { return; } try { ISandboxObject obj = mLiveValues.get(mDefiningSandbox); if (obj == null) { // shouldn't have happened - means the sandbox has been destroyed Log.e(TAG, "Can't find live value to marshal out"); mThrowable = new DeadObjectException(); } else { ParceledPayloadExceptionResult result = obj.marshalOut(); if (result.isException()) { mThrowable = result.getException(); } else { mMarshaled = result.getResult(); } } } catch (Exception e) { mThrowable = e; } if (!mDefiningSandbox.getTaints().isSubsetOf(TaintSet.nullToEmpty(mTaint))) { Log.e(TAG, "Sandbox taints have increased prior to marshal out"); mTaint = mDefiningSandbox.getTaints(); } unregisterMarshal(); mHandler = null; } }