@@ -0,0 +1,1586 @@
+/**%0A * Author : Rishi Gupta%0A * %0A * This file is part of 'serial communication manager' library.%0A *%0A * The 'serial communication manager' is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Lesser General Public License as published by the Free Software %0A * Foundation, either version 3 of the License, or (at your option) any later version.%0A *%0A * The 'serial communication manager' is distributed in the hope that it will be useful, but%0A * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A %0A * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.%0A *%0A * You should have received a copy of the GNU Lesser General Public License%0A * along with serial communication manager. If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage com.embeddedunveiled.serial;%0A%0Aimport java.io.IOException;%0A%0A/** %0A * %3Cp%3EThis exception is thrown if native shared library extraction sub-system encounter any error. %0A * This limit the scope of exceptions in context of serial operation only. %3C/p%3E%0A */%0Apublic final class SerialComLoadException extends IOException %7B%0A%0A%09private static final long serialVersionUID = -2454774135396601242L;%0A%09%0A%09/**%0A     * Constructs an SerialComLoadException object with the specified detail message.%0A     *%0A     * @param methodName name of method where exception occurred%0A     * @param exceptionMsg message describing reason for exception%0A     */%0A%09public SerialComLoadException(String methodName, String exceptionMsg) %7B%0A%09%09super(exceptionMsg + %22 in method %22 + methodName);%0A%09%7D%0A%7D%0A

add new exception type for loading library