Class CausalNumberFormatException

All Implemented Interfaces:
Serializable

public class CausalNumberFormatException extends NumberFormatException
A NumberFormatException that allows to include a reference to what caused the exception. In Java, number format exceptions cannot have a cause, yet, this might be useful, eg, when you want to wrap a number parsing error with details on what you were doing when the problem occurred.
Author:
brandizi
Date:
19 Jun 2019
See Also:
  • Constructor Details

    • CausalNumberFormatException

      public CausalNumberFormatException(String s)
    • CausalNumberFormatException

      public CausalNumberFormatException(String s, Throwable cause)