类 TimeOutRangeException

所有已实现的接口:
Serializable

public class TimeOutRangeException extends RuntimeException
If the value of the specific field in time is out of its correct range, this exception will be thrown.
For example, if you set the field "minute" to 60 will cause this exception.
作者:
vorbote
另请参阅:
  • 构造器详细资料

    • TimeOutRangeException

      public TimeOutRangeException(String field, Integer correctMinimumValue, Integer correctMaximumValue)
      Constructor, to build a clear exception message.
      参数:
      field - The field which is set to be a wrong value.
      correctMinimumValue - The correct minimum value of this field.
      correctMaximumValue - The correct maximum value of this field.
  • 方法详细资料

    • toString

      public String toString()
      Convert to a String to make this exception clear enough for coders.
      覆盖:
      toString 在类中 Throwable
      返回:
      A String includes what went wrong.
    • getMessage

      public String getMessage()
      Convert to a String to make this exception clear enough for coders.
      覆盖:
      getMessage 在类中 Throwable
      返回:
      A String includes what went wrong.
      另请参阅: