summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-05-27 16:48:46 -0700
committerElliott Hughes <enh@google.com>2011-05-27 16:54:33 -0700
commit9b510df35b57946d843ffc34cf23fdcfc84c5220 (patch)
treef537167593bc423a36a31de35509ba6ada8c41ca /support
parent2ab014f88b412ceb4a0593d0934edb536ef1baa8 (diff)
downloadlibcore-9b510df35b57946d843ffc34cf23fdcfc84c5220.zip
libcore-9b510df35b57946d843ffc34cf23fdcfc84c5220.tar.gz
libcore-9b510df35b57946d843ffc34cf23fdcfc84c5220.tar.bz2
Make ErrnoException a checked exception.
Bug: 4486011 Change-Id: I1877ce593d441653f75ab14884aa2d85f52652ad
Diffstat (limited to 'support')
-rw-r--r--support/src/test/java/tests/io/MockOs.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/src/test/java/tests/io/MockOs.java b/support/src/test/java/tests/io/MockOs.java
index 0cfe836..d7e284f 100644
--- a/support/src/test/java/tests/io/MockOs.java
+++ b/support/src/test/java/tests/io/MockOs.java
@@ -112,7 +112,7 @@ public final class MockOs {
public void enqueueFault(String methodName, final int errno) {
getHandlers(methodName).add(new InvocationHandler() {
- @Override public Object invoke(Object proxy, Method method, Object[] args) {
+ @Override public Object invoke(Object proxy, Method method, Object[] args) throws ErrnoException {
throw new ErrnoException(method.getName(), errno);
}
});