summaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorBenoit Lamarche <benoitlamarche@google.com>2013-12-02 19:04:48 +0100
committerColin Cross <ccross@android.com>2014-07-11 13:31:38 -0700
commit87cb925a53fb5fbe38cdce61727d8f9ec9362945 (patch)
tree94c6113079121671dc541f14f4cf31fc7c4e1ce3 /dex
parent32406b60522bff4768e154d510faa2cfa7656699 (diff)
downloadlibcore-87cb925a53fb5fbe38cdce61727d8f9ec9362945.zip
libcore-87cb925a53fb5fbe38cdce61727d8f9ec9362945.tar.gz
libcore-87cb925a53fb5fbe38cdce61727d8f9ec9362945.tar.bz2
Add DexIndexOverflowException
(cherry-pick of 464c226afc28aa64c293bdc4eec3b8b348bc422a.) (cherry picked from commit e114d23d4689c0b7e0494b16dad7d67c48e0e110) Change-Id: Ied546a1951904787687d07f519abcca12b1e6ae3
Diffstat (limited to 'dex')
-rw-r--r--dex/src/main/java/com/android/dex/DexIndexOverflowException.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/dex/src/main/java/com/android/dex/DexIndexOverflowException.java b/dex/src/main/java/com/android/dex/DexIndexOverflowException.java
new file mode 100644
index 0000000..3226207
--- /dev/null
+++ b/dex/src/main/java/com/android/dex/DexIndexOverflowException.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2013 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.dex;
+
+/**
+ * Thrown when there's an index overflow writing a dex file.
+ */
+public final class DexIndexOverflowException extends DexException {
+ public DexIndexOverflowException(String message) {
+ super(message);
+ }
+
+ public DexIndexOverflowException(Throwable cause) {
+ super(cause);
+ }
+}