Class CausalNumberFormatException

All Implemented Interfaces:
Serializable

@Deprecated public class CausalNumberFormatException extends NumberFormatException
Deprecated.
This is not needed, use ExceptionUtils.addCause(Throwable, Throwable) instead. 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.
A NumberFormatException that allows to include a reference to what caused the exception.
Author:
brandizi
Date:
19 Jun 2019
See Also:
  • Constructor Details

    • CausalNumberFormatException

      public CausalNumberFormatException(String s)
      Deprecated.
    • CausalNumberFormatException

      public CausalNumberFormatException(String s, Throwable cause)
      Deprecated.