query: How to test ParseException that is thrown by SimpelDateFormat?
positive_passages.docid: 8564
positive_passages.text: How do you assert that a certain exception is thrown in JUnit 4 tests?
negative_passages.docid: 30780
negative_passages.text: "IllegalFormatConversionException: d != java.lang.String" when padding number with 0s?
negative_passages.docid: 101967
negative_passages.text: Javascript: how to validate dates in format MM-DD-YYYY?
negative_passages.docid: 109704
negative_passages.text: How to check if a string is a legal "dd/mm/yyyy" date?
negative_passages.docid: 156090
negative_passages.text: What is the proper way to display the full InnerException?
negative_passages.docid: 148412
negative_passages.text: How can I use hasNextInt() to catch an exception? I need Int but if input is character, that is bad
negative_passages.docid: 151921
negative_passages.text: Illegal pattern character 'T' when parsing a date string to java.util.Date
negative_passages.docid: 22906
negative_passages.text: How do I parse an ISO 8601-formatted date?
negative_passages.docid: 96453
negative_passages.text: Caught Throwable or Exception is null
negative_passages.docid: 72332
negative_passages.text: How to Properly Handle Exceptions in a JSP/Servlet App?
negative_passages.docid: 68131
negative_passages.text: Postgresql Date type and java SimpleDateFormat
negative_passages.docid: 51545
negative_passages.text: Converting a string to TDateTime based on an arbitrary format
negative_passages.docid: 99718
negative_passages.text: Can I catch multiple Java exceptions in the same catch clause?
negative_passages.docid: 157214
negative_passages.text: java parsing string to date
negative_passages.docid: 78689
negative_passages.text: Is it possible to detect if an exception occurred before I entered a finally block?
negative_passages.docid: 56124
negative_passages.text: Why do I get "Exception; must be caught or declared to be thrown" when I try to compile my Java code?
negative_passages.docid: 88899
negative_passages.text: How can I determine the current exception in a catch (...) block?