Skip to content

Commit

Permalink
Merge pull request #402 from armanbilge/fix/date-time-parse-ex-ctor
Browse files Browse the repository at this point in the history
Fix `DateTimeParseException` ctor
  • Loading branch information
cquiroz authored Nov 10, 2022
2 parents c8825b8 + 315072b commit 561ded1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ class DateTimeParseException(
message: String,
parsedData: CharSequence,
private val errorIndex: Int,
cause: Throwable = null
cause: Throwable
) extends DateTimeException(message, cause) {

def this(message: String, parsedData: CharSequence, errorIndex: Int) =
this(message, parsedData, errorIndex, null)

/**
* The text that was being parsed.
*/
Expand Down

0 comments on commit 561ded1

Please sign in to comment.