public class OverloadException extends Exception
| Constructor and Description |
|---|
OverloadException()
Default constructor
|
OverloadException(double lowThreshold,
double highThreshold,
double value)
Constructor with overload data
|
OverloadException(String message)
Constructor with reason string
|
OverloadException(String message,
Throwable cause)
Constructor with reason string and parent exception
|
OverloadException(Throwable cause)
Constructor with parent exception
|
| Modifier and Type | Method and Description |
|---|---|
double |
getHighThreshold() |
double |
getLowThreshold() |
double |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OverloadException()
public OverloadException(double lowThreshold,
double highThreshold,
double value)
lowThreshold - low threshold overload valuehighThreshold - high threshold overload valuevalue - current overload valuepublic OverloadException(String message)
message - reason stringpublic OverloadException(String message, Throwable cause)
message - message reason stringcause - parent exceptionpublic OverloadException(Throwable cause)
cause - parent exceptionCopyright © 2016. All Rights Reserved.