Class DurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.voidframework.core.exception.DurationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DurationException.InvalidNumericValue, DurationException.InvalidTemporalUnit, DurationException.MissingNumericValue, DurationException.MissingTemporalUnit

public class DurationException extends RuntimeException
All exceptions thrown by the Duration utility class are subclasses of DurationException.
Since:
1.6.0
See Also:
  • Constructor Details

    • DurationException

      protected DurationException(String message)
      Build a new instance.
      Parameters:
      message - The detail message
      Since:
      1.6.0
    • DurationException

      protected DurationException(String message, Throwable cause)
      Build a new instance.
      Parameters:
      message - The detail message
      cause - The cause
      Since:
      1.6.0