From ef48080439fade438bfbe994b883a1be5d970e5d Mon Sep 17 00:00:00 2001 From: Eugene Livis Date: Thu, 16 Jul 2015 09:32:08 -0400 Subject: [PATCH] UnknownServiceException an inner class of ServicesMonitor --- .../autopsy/core/ServicesMonitor.java | 14 ++++++++ .../autopsy/core/UnknownServiceException.java | 33 ------------------- 2 files changed, 14 insertions(+), 33 deletions(-) delete mode 100644 Core/src/org/sleuthkit/autopsy/core/UnknownServiceException.java diff --git a/Core/src/org/sleuthkit/autopsy/core/ServicesMonitor.java b/Core/src/org/sleuthkit/autopsy/core/ServicesMonitor.java index f62cd0c8fb..322a649a79 100644 --- a/Core/src/org/sleuthkit/autopsy/core/ServicesMonitor.java +++ b/Core/src/org/sleuthkit/autopsy/core/ServicesMonitor.java @@ -350,4 +350,18 @@ public class ServicesMonitor { checkAllServices(); } } + + /** + * Exception thrown when service status query results in an error. + */ + public class UnknownServiceException extends Exception { + + public UnknownServiceException(String message) { + super(message); + } + + public UnknownServiceException(String message, Throwable cause) { + super(message, cause); + } + } } diff --git a/Core/src/org/sleuthkit/autopsy/core/UnknownServiceException.java b/Core/src/org/sleuthkit/autopsy/core/UnknownServiceException.java deleted file mode 100644 index ace8b7aecd..0000000000 --- a/Core/src/org/sleuthkit/autopsy/core/UnknownServiceException.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Autopsy Forensic Browser - * - * Copyright 2012 Basis Technology Corp. - * Contact: carrier sleuthkit org - * - * 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 org.sleuthkit.autopsy.core; - -/** - * Exception thrown when service status query results in an error. - */ -public class UnknownServiceException extends Exception { - - public UnknownServiceException(String message) { - super(message); - } - - public UnknownServiceException(String message, Throwable cause) { - super(message, cause); - } -}