public class OutOfRangeException
extends java.lang.Exception
| Constructor and Description |
|---|
OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout)
Create an OutOfResourcesException.
|
OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout,
java.lang.String message)
Create an OutOfResourcesException with a message.
|
OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout,
java.lang.String message,
java.lang.Throwable cause)
Create an OutOfResourcesException with a message and a cause.
|
OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout,
java.lang.Throwable cause)
Create an OutOfResourcesException with a cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxDuration()
Get the maximum allowable request duration in milliseconds.
|
short |
getMaxHistoricalAge()
Get the maximum time, in hours, that detailed data is stored before being deleted by the source.
|
int |
getMaxTimeout()
Get the maximum allowable request timeout in milliseconds.
|
public OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout)
maxHistoricalAge - The maximum time, in hours, that detailed data is stored before being deleted by the source.maxDuration - The maximum allowable request duration in milliseconds.maxTimeout - The maximum allowable request timeout in milliseconds.public OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout,
java.lang.String message)
maxHistoricalAge - The maximum time, in hours, that detailed data is stored before being deleted by the source.maxDuration - The maximum allowable request duration in milliseconds.maxTimeout - The maximum allowable request timeout in milliseconds.message - The message to associate with the exception.public OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout,
java.lang.Throwable cause)
maxHistoricalAge - The maximum time, in hours, that detailed data is stored before being deleted by the source.maxDuration - The maximum allowable request duration in milliseconds.maxTimeout - The maximum allowable request timeout in milliseconds.cause - The root cause of the exception.public OutOfRangeException(short maxHistoricalAge,
int maxDuration,
int maxTimeout,
java.lang.String message,
java.lang.Throwable cause)
maxHistoricalAge - The maximum time, in hours, that detailed data is stored before being deleted by the source.maxDuration - The maximum allowable request duration in milliseconds.maxTimeout - The maximum allowable request timeout in milliseconds.message - The message to associate with the exception.cause - The root cause of the exception.public short getMaxHistoricalAge()
public int getMaxDuration()
public int getMaxTimeout()