From ac3518e098cdaa042d13bb2c5550704cce207c6e Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Wed, 9 Jan 2019 17:10:21 -0500 Subject: [PATCH] feat: add new exception types --- .../androlib/err/AXmlDecodingException.java | 37 +++++++++++++++++++ .../err/RawXmlEncounteredException.java | 37 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 brut.apktool/apktool-lib/src/main/java/brut/androlib/err/AXmlDecodingException.java create mode 100644 brut.apktool/apktool-lib/src/main/java/brut/androlib/err/RawXmlEncounteredException.java diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/err/AXmlDecodingException.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/err/AXmlDecodingException.java new file mode 100644 index 00000000..cc28d000 --- /dev/null +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/err/AXmlDecodingException.java @@ -0,0 +1,37 @@ +/** + * Copyright (C) 2018 Ryszard Wiśniewski + * Copyright (C) 2018 Connor Tumbleson + * + * 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 brut.androlib.err; + +import brut.androlib.AndrolibException; + +public class AXmlDecodingException extends AndrolibException { + + public AXmlDecodingException(Throwable cause) { + super(cause); + } + + public AXmlDecodingException(String message, Throwable cause) { + super(message, cause); + } + + public AXmlDecodingException(String message) { + super(message); + } + + public AXmlDecodingException() { + } +} \ No newline at end of file diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/err/RawXmlEncounteredException.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/err/RawXmlEncounteredException.java new file mode 100644 index 00000000..762f1074 --- /dev/null +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/err/RawXmlEncounteredException.java @@ -0,0 +1,37 @@ +/** + * Copyright (C) 2018 Ryszard Wiśniewski + * Copyright (C) 2018 Connor Tumbleson + * + * 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 brut.androlib.err; + +import brut.androlib.AndrolibException; + +public class RawXmlEncounteredException extends AndrolibException { + + public RawXmlEncounteredException(Throwable cause) { + super(cause); + } + + public RawXmlEncounteredException(String message, Throwable cause) { + super(message, cause); + } + + public RawXmlEncounteredException(String message) { + super(message); + } + + public RawXmlEncounteredException() { + } +}