public class InvalidRelativeIntervalException extends InvalidIntervalRangeException
Constructor and Description |
---|
InvalidRelativeIntervalException(IntervalUnit intervalUnit,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
Integer |
getEnd()
Returns the end of the interval that caused the problem.
|
Integer |
getStart()
Returns the start of the interval that caused the problem.
|
getIntervalUnit
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRelativeIntervalException(IntervalUnit intervalUnit, int start, int end)
public Integer getStart()
InvalidIntervalRangeException
getStart
in class InvalidIntervalRangeException
public Integer getEnd()
InvalidIntervalRangeException
getEnd
in class InvalidIntervalRangeException
Copyright © 2014. All rights reserved.