From d882a05833240b3f3e8d452b8d1082b15895153a Mon Sep 17 00:00:00 2001 From: sinthuja Date: Tue, 30 May 2017 12:03:56 +0530 Subject: [PATCH] Reverting back to runtime exceptions. --- .../mgt/common/exception/IllegalTransactionStateException.java | 2 +- .../common/exception/UnsupportedDatabaseEngineException.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/IllegalTransactionStateException.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/IllegalTransactionStateException.java index bbbe7c9c6f..b0550fd2d8 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/IllegalTransactionStateException.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/IllegalTransactionStateException.java @@ -17,7 +17,7 @@ */ package org.wso2.carbon.device.application.mgt.common.exception; -public class IllegalTransactionStateException extends ApplicationManagementException { +public class IllegalTransactionStateException extends RuntimeException { private static final long serialVersionUID = -3151279331929070297L; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/UnsupportedDatabaseEngineException.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/UnsupportedDatabaseEngineException.java index 6a9c632bda..62185c27ff 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/UnsupportedDatabaseEngineException.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.common/src/main/java/org/wso2/carbon/device/application/mgt/common/exception/UnsupportedDatabaseEngineException.java @@ -21,7 +21,7 @@ package org.wso2.carbon.device.application.mgt.common.exception; /** * This runtime exception will be thrown if the server has configured with unsupported DB engine. */ -public class UnsupportedDatabaseEngineException extends ApplicationManagementException { +public class UnsupportedDatabaseEngineException extends RuntimeException { private static final long serialVersionUID = -3151279311929070297L;