Removed try catch block so the test can function as expected and fail when it ought to, rather than passing all the time because of catch block catching all exceptions and Passing test even there is a failure.
------------- Commit messages: - 8272342: [TEST_BUG] java/awt/print/PrinterJob/PageDialogMarginTest.java catches all exceptions Changes: https://git.openjdk.java.net/jdk/pull/5115/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5115&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8272342 Stats: 16 lines in 1 file changed: 0 ins; 3 del; 13 mod Patch: https://git.openjdk.java.net/jdk/pull/5115.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5115/head:pull/5115 PR: https://git.openjdk.java.net/jdk/pull/5115