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]//www.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;
import org.xml.sax.SAXException;
/**
* This is SAX exception, which is thrown if any exception occur at time of parsing descriptors.
*/publicclass PrematureEndOfParseException extends SAXException implements IException {
private String className = null;
private String methodName = null;
private String message = null;
/**
* PrematureEndOfParseException Constructor
* @param className Name of class
* @param methodName Name of method
* @param message Exception message
*/public PrematureEndOfParseException(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;
}
}