See 
<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-3.0.x/org.apache.pdfbox$preflight/958/display/redirect?page=changes>

Changes:

[Tilman Hausherr] PDFBOX-5660: sonar fix: use specific exceptions


------------------------------------------
[INFO] 
[INFO] --------------------< org.apache.pdfbox:preflight >---------------------
[INFO] Building Apache Preflight 3.0.7-SNAPSHOT                          [6/13]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.5.0:clean (default-clean) @ preflight ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.6.2:enforce (default) @ preflight ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.6.2:enforce (enforce-maven-version) @ 
preflight ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.6.2:enforce (enforce-java-version) @ 
preflight ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.6.0:check (check) @ preflight ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- maven-remote-resources-plugin:3.3.0:process 
(process-resource-bundles) @ preflight ---
[INFO] Preparing remote bundle 
org.apache.apache.resources:apache-jar-resource-bundle:1.7
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ 
preflight ---
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to 
target/classes
[INFO] 
[INFO] --- maven-compiler-plugin:3.14.0:compile (default-compile) @ preflight 
---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 116 source files with javac [debug deprecation release 8] to 
target/classes
[WARNING] 
<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-3.0.x/org.apache.pdfbox$preflight/ws/src/main/java/org/apache/pdfbox/preflight/graphic/StandardColorSpaceHelper.java>:[330,65]
 getColorants() in org.apache.pdfbox.pdmodel.graphics.color.PDDeviceNAttributes 
has been deprecated
[INFO] 
<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-3.0.x/org.apache.pdfbox$preflight/ws/src/main/java/org/apache/pdfbox/preflight/font/descriptor/FontDescriptorHelper.java>:
 
<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-3.0.x/org.apache.pdfbox$preflight/ws/src/main/java/org/apache/pdfbox/preflight/font/descriptor/FontDescriptorHelper.java>
 uses unchecked or unsafe operations.
[INFO] 
<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-3.0.x/org.apache.pdfbox$preflight/ws/src/main/java/org/apache/pdfbox/preflight/font/descriptor/FontDescriptorHelper.java>:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.9.0:wget (get-isartor) @ preflight ---
[INFO] 
[INFO] --- download-maven-plugin:1.9.0:wget (get-bavaria) @ preflight ---
[INFO] 
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ 
preflight ---
[INFO] Copying 8 resources from src/test/resources to target/test-classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to 
target/test-classes
[INFO] 
[INFO] --- maven-compiler-plugin:3.14.0:testCompile (default-testCompile) @ 
preflight ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 23 source files with javac [debug deprecation release 8] to 
target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
<https://ci-builds.apache.org/job/PDFBox/job/PDFBox-3.0.x/org.apache.pdfbox$preflight/ws/src/test/java/org/apache/pdfbox/preflight/integration/TestInvalidFiles.java>:[73,24]
 unreported exception java.lang.Exception; must be caught or declared to be 
thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to