]> git.mxchange.org Git - jcore.git/commitdiff
Added more thrown exceptions
authorRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 18:07:07 +0000 (20:07 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 18:07:07 +0000 (20:07 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

nbproject/project.properties
src/org/mxchange/jcore/client/BaseClient.java
src/org/mxchange/jcore/client/Client.java

index 3cf2e88b03165e6715105b8123871de463f003ab..8645ba433b6c86fe657e239166da4acee4cc4662 100644 (file)
@@ -1,78 +1,95 @@
-annotation.processing.enabled=true\r
-annotation.processing.enabled.in.editor=false\r
-annotation.processing.processors.list=\r
-annotation.processing.run.all.processors=true\r
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output\r
-application.title=jcore\r
-application.vendor=KLC\r
-build.classes.dir=${build.dir}/classes\r
-build.classes.excludes=**/*.java,**/*.form\r
-# This directory is removed when the project is cleaned:\r
-build.dir=build\r
-build.generated.dir=${build.dir}/generated\r
-build.generated.sources.dir=${build.dir}/generated-sources\r
-# Only compile against the classpath explicitly listed here:\r
-build.sysclasspath=ignore\r
-build.test.classes.dir=${build.dir}/test/classes\r
-build.test.results.dir=${build.dir}/test/results\r
-# Uncomment to specify the preferred debugger connection transport:\r
-#debug.transport=dt_socket\r
-debug.classpath=\\r
-    ${run.classpath}\r
-debug.test.classpath=\\r
-    ${run.test.classpath}\r
-# Files in build.classes.dir which should be excluded from distribution jar\r
-dist.archive.excludes=\r
-# This directory is removed when the project is cleaned:\r
-dist.dir=dist\r
-dist.jar=${dist.dir}/jcore.jar\r
-dist.javadoc.dir=${dist.dir}/javadoc\r
-endorsed.classpath=\r
-excludes=\r
-file.reference.log4j-api-2.3.jar=lib/log4j-api-2.3.jar\r
-file.reference.log4j-core-2.3.jar=lib/log4j-core-2.3.jar\r
-includes=**\r
-jar.compress=false\r
-javac.classpath=\\r
-    ${file.reference.log4j-api-2.3.jar}:\\r
-    ${file.reference.log4j-core-2.3.jar}\r
-# Space-separated list of extra javac options\r
-javac.compilerargs=-Xlint:unchecked\r
-javac.deprecation=false\r
-javac.processorpath=\\r
-    ${javac.classpath}\r
-javac.source=1.7\r
-javac.target=1.7\r
-javac.test.classpath=\\r
-    ${javac.classpath}:\\r
-    ${build.classes.dir}\r
-javac.test.processorpath=\\r
-    ${javac.test.classpath}\r
-javadoc.additionalparam=\r
-javadoc.author=false\r
-javadoc.encoding=${source.encoding}\r
-javadoc.noindex=false\r
-javadoc.nonavbar=false\r
-javadoc.notree=false\r
-javadoc.private=false\r
-javadoc.splitindex=true\r
-javadoc.use=true\r
-javadoc.version=false\r
-javadoc.windowtitle=\r
-meta.inf.dir=${src.dir}/META-INF\r
-mkdist.disabled=true\r
-platform.active=default_platform\r
-project.license=gpl30\r
-run.classpath=\\r
-    ${javac.classpath}:\\r
-    ${build.classes.dir}\r
-# Space-separated list of JVM arguments used when running the project.\r
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.\r
-# To set system properties for unit tests define test-sys-prop.name=value:\r
-run.jvmargs=\r
-run.test.classpath=\\r
-    ${javac.test.classpath}:\\r
-    ${build.test.classes.dir}\r
-source.encoding=UTF-8\r
-src.dir=src\r
-test.src.dir=test\r
+annotation.processing.enabled=true
+annotation.processing.enabled.in.editor=true
+annotation.processing.processors.list=
+annotation.processing.run.all.processors=true
+annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
+application.desc=
+application.title=jcore
+application.vendor=Roland Haeder
+auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
+build.classes.dir=${build.dir}/classes
+build.classes.excludes=**/*.java,**/*.form
+# This directory is removed when the project is cleaned:
+build.dir=build
+build.generated.dir=${build.dir}/generated
+build.generated.sources.dir=${build.dir}/generated-sources
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+# Uncomment to specify the preferred debugger connection transport:
+#debug.transport=dt_socket
+debug.classpath=\
+    ${run.classpath}
+debug.test.classpath=\
+    ${run.test.classpath}
+# Files in build.classes.dir which should be excluded from distribution jar
+dist.archive.excludes=
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.jar=${dist.dir}/jcore.jar
+dist.javadoc.dir=${dist.dir}/javadoc
+endorsed.classpath=
+excludes=
+file.reference.log4j-api-2.3.jar=lib/log4j-api-2.3.jar
+file.reference.log4j-core-2.3.jar=lib/log4j-core-2.3.jar
+includes=**
+jar.archive.disabled=${jnlp.enabled}
+jar.compress=false
+jar.index=${jnlp.enabled}
+javac.classpath=\
+    ${file.reference.log4j-api-2.3.jar}:\
+    ${file.reference.log4j-core-2.3.jar}
+# Space-separated list of extra javac options
+javac.compilerargs=-Xlint:unchecked
+javac.deprecation=true
+javac.processorpath=\
+    ${javac.classpath}
+javac.source=1.7
+javac.target=1.7
+javac.test.classpath=\
+    ${javac.classpath}:\
+    ${build.classes.dir}
+javac.test.processorpath=\
+    ${javac.test.classpath}
+javadoc.additionalparam=
+javadoc.author=true
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=true
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=true
+javadoc.windowtitle=
+jnlp.codebase.type=no.codebase
+jnlp.descriptor=application
+jnlp.enabled=false
+jnlp.mixed.code=default
+jnlp.offline-allowed=false
+jnlp.signed=false
+jnlp.signing=
+jnlp.signing.alias=
+jnlp.signing.keystore=
+# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed
+manifest.custom.codebase=
+# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions)
+manifest.custom.permissions=
+meta.inf.dir=${src.dir}/META-INF
+mkdist.disabled=false
+platform.active=default_platform
+project.license=gpl30
+run.classpath=\
+    ${javac.classpath}:\
+    ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project.
+# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
+# To set system properties for unit tests define test-sys-prop.name=value:
+run.jvmargs=
+run.test.classpath=\
+    ${javac.test.classpath}:\
+    ${build.test.classes.dir}
+source.encoding=UTF-8
+src.dir=src
+test.src.dir=test
index 1f724af9cb47aa83689daa5b0859a23d8f19c98d..8ec8883c42dda15c0fad7efb4a4e55f167a2d83d 100644 (file)
@@ -16,6 +16,8 @@
  */
 package org.mxchange.jcore.client;
 
+import java.io.IOException;
+import java.sql.SQLException;
 import org.mxchange.jcore.BaseFrameworkSystem;
 
 /**
@@ -40,7 +42,7 @@ public abstract class BaseClient extends BaseFrameworkSystem implements Client {
         * Shutdown method for all clients
         */
        @Override
-       public void doShutdown () {
+       public void doShutdown () throws SQLException, IOException {
                // Trace message
                this.getLogger().trace("CALLED!"); //NOI18N
 
index 230d29110de89840244114431c4a228e5bb546f9..1d3fd1ec2d0fe3606ef16c1e1850883f81e9f861 100644 (file)
@@ -16,6 +16,8 @@
  */
 package org.mxchange.jcore.client;
 
+import java.io.IOException;
+import java.sql.SQLException;
 import org.mxchange.jcore.FrameworkInterface;
 import org.mxchange.jcore.contact.Contact;
 
@@ -28,8 +30,10 @@ public interface Client extends FrameworkInterface {
 
        /**
         * Shuts down the client and therefore whole application
+        * @throws java.sql.SQLException If an SQL error occurs
+        * @throws java.io.IOException If an IO error occurs
         */
-       public void doShutdown ();
+       public void doShutdown () throws SQLException, IOException;
 
        /**
         * Displays a message to the user