If you think the Android project android-core listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/**
* [SIMINOV FRAMEWORK]/*fromwww.java2s.com*/
* Copyright [2015] [Siminov Software Solution LLP|support@siminov.com]
*
* 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 siminov.core.exception;
/**
* This is general exception, which is thrown through Siminov APIs, if any exception occur while performing any tasks.
*/publicclass SiminovException extends Exception implements IException {
private String className = null;
private String methodName = null;
private String message = null;
/**
* SiminovException Constructor
* @param className Name of class
* @param methodName Name of method
* @param message Exception message
*/public SiminovException(final String className, final String methodName, final String message) {
this.className = className;
this.methodName = methodName;
this.message = message;
}
/**
* Get POJO class name.
* @return POJO Class Name.
*/public String getClassName() {
return this.className;
}
/**
* Set POJO class name.
* @param className POJO Class Name.
*/publicvoid setClassName(final String className) {
this.className = className;
}
/**
* Get method Name.
* @return Name Of Method.
*/public String getMethodName() {
return this.methodName;
}
/**
* Set method Name.
* @param methodName Name Of Method.
*/publicvoid setMethodName(final String methodName) {
this.methodName = methodName;
}
/**
* Get message.
* @return Message.
*/public String getMessage() {
return this.message;
}
/**
* Set message.
* @param message Message.
*/publicvoid setMessage(final String message) {
this.message = message;
}
}