From b5df9dd88e5a47413d9c8b9793f1c0323a02b20a Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Thu, 11 Jul 2013 10:21:40 -0700 Subject: [PATCH] CB-3724: Removing the file exceptions --- .../cordova/file/EncodingException.java | 28 ------------------ .../cordova/file/FileExistsException.java | 28 ------------------ .../file/InvalidModificationException.java | 29 ------------------- .../file/NoModificationAllowedException.java | 28 ------------------ .../cordova/file/TypeMismatchException.java | 29 ------------------- 5 files changed, 142 deletions(-) delete mode 100644 framework/src/org/apache/cordova/file/EncodingException.java delete mode 100644 framework/src/org/apache/cordova/file/FileExistsException.java delete mode 100644 framework/src/org/apache/cordova/file/InvalidModificationException.java delete mode 100644 framework/src/org/apache/cordova/file/NoModificationAllowedException.java delete mode 100644 framework/src/org/apache/cordova/file/TypeMismatchException.java diff --git a/framework/src/org/apache/cordova/file/EncodingException.java b/framework/src/org/apache/cordova/file/EncodingException.java deleted file mode 100644 index a32e18ea..00000000 --- a/framework/src/org/apache/cordova/file/EncodingException.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 org.apache.cordova.file; - -public class EncodingException extends Exception { - - public EncodingException(String message) { - super(message); - } - -} diff --git a/framework/src/org/apache/cordova/file/FileExistsException.java b/framework/src/org/apache/cordova/file/FileExistsException.java deleted file mode 100644 index 18aa7ea0..00000000 --- a/framework/src/org/apache/cordova/file/FileExistsException.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 org.apache.cordova.file; - -public class FileExistsException extends Exception { - - public FileExistsException(String msg) { - super(msg); - } - -} diff --git a/framework/src/org/apache/cordova/file/InvalidModificationException.java b/framework/src/org/apache/cordova/file/InvalidModificationException.java deleted file mode 100644 index aebab4d7..00000000 --- a/framework/src/org/apache/cordova/file/InvalidModificationException.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 org.apache.cordova.file; - -public class InvalidModificationException extends Exception { - - public InvalidModificationException(String message) { - super(message); - } - -} diff --git a/framework/src/org/apache/cordova/file/NoModificationAllowedException.java b/framework/src/org/apache/cordova/file/NoModificationAllowedException.java deleted file mode 100644 index 8cae1151..00000000 --- a/framework/src/org/apache/cordova/file/NoModificationAllowedException.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 org.apache.cordova.file; - -public class NoModificationAllowedException extends Exception { - - public NoModificationAllowedException(String message) { - super(message); - } - -} diff --git a/framework/src/org/apache/cordova/file/TypeMismatchException.java b/framework/src/org/apache/cordova/file/TypeMismatchException.java deleted file mode 100644 index 0ea5993f..00000000 --- a/framework/src/org/apache/cordova/file/TypeMismatchException.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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 org.apache.cordova.file; - -public class TypeMismatchException extends Exception { - - public TypeMismatchException(String message) { - super(message); - } - -}