remove unused exception class TerminationException.java
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/c39653f4 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/c39653f4 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/c39653f4 Branch: refs/heads/master Commit: c39653f47d2dc8110ffb51593eface54daec996f Parents: d86b9cb Author: Udara Liyanage <[email protected]> Authored: Sun Apr 12 08:48:45 2015 +0530 Committer: Udara Liyanage <[email protected]> Committed: Thu Apr 16 09:33:45 2015 +0530 ---------------------------------------------------------------------- .../cartridge/TerminationException.java | 45 -------------------- 1 file changed, 45 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/c39653f4/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/cartridge/TerminationException.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/cartridge/TerminationException.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/cartridge/TerminationException.java deleted file mode 100644 index 18f80ba..0000000 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/cartridge/TerminationException.java +++ /dev/null @@ -1,45 +0,0 @@ -package org.apache.stratos.autoscaler.exception.cartridge; -/* - * - * 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. - * -*/ - - -public class TerminationException extends Throwable { - - private static final long serialVersionUID = -6038793010380236971L; - private String message; - - public TerminationException(String s, Exception e) { - super(s, e); - this.setMessage(s); - } - - public TerminationException(Exception e) { - super(e); - } - - public String getMessage() { - return message; - } - - public void setMessage(String message) { - this.message = message; - } -}
