类 TimeOutRangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.vorbote.core.exceptions.TimeOutRangeException
- 所有已实现的接口:
Serializable
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.
For example, if you set the field "minute" to 60 will cause this exception.
- 作者:
- vorbote
- 另请参阅:
-
构造器概要
构造器构造器说明TimeOutRangeException(String field, Integer correctMinimumValue, Integer correctMaximumValue) Constructor, to build a clear exception message. -
方法概要
修饰符和类型方法说明Convert to aStringto make this exception clear enough for coders.toString()Convert to aStringto make this exception clear enough for coders.
-
构造器详细资料
-
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
Convert to aStringto make this exception clear enough for coders. -
getMessage
Convert to aStringto make this exception clear enough for coders.- 覆盖:
getMessage在类中Throwable- 返回:
- A
Stringincludes what went wrong. - 另请参阅:
-