Skip to content
Snippets Groups Projects
Commit 74c94435 authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "*ServiceStartNotAllowedException shouldn't have a "cause"" into sc-v2-dev

parents c5e184b5 d4396b9a
No related branches found
No related tags found
No related merge requests found
......@@ -40,4 +40,11 @@ public abstract class ServiceStartNotAllowedException extends IllegalStateExcept
return new BackgroundServiceStartNotAllowedException(message);
}
}
@Override
public synchronized Throwable getCause() {
// "Cause" is often used for clustering exceptions, and developers don't want to have it
// for this exception. b/210890426
return null;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment