org.jdiameter.api
Class OverloadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jdiameter.api.OverloadException
All Implemented Interfaces:
java.io.Serializable

public class OverloadException
extends java.lang.Exception

An exception that provides information on a stack has application request overload.

Version:
1.5.1 Final
See Also:
Serialized Form

Constructor Summary
OverloadException()
          Default constructor
OverloadException(double lowThreshold, double highThreshold, double value)
          Constructor with overload data
OverloadException(java.lang.String message)
          Constructor with reason string
OverloadException(java.lang.String message, java.lang.Throwable cause)
          Constructor with reason string and parent exception
OverloadException(java.lang.Throwable cause)
          Constructor with parent exception
 
Method Summary
 double getHighThreshold()
           
 double getLowThreshold()
           
 double getValue()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OverloadException

public OverloadException()
Default constructor


OverloadException

public OverloadException(double lowThreshold,
                         double highThreshold,
                         double value)
Constructor with overload data

Parameters:
lowThreshold - low threshold overload value
highThreshold - high threshold overload value
value - current overload value

OverloadException

public OverloadException(java.lang.String message)
Constructor with reason string

Parameters:
message - reason string

OverloadException

public OverloadException(java.lang.String message,
                         java.lang.Throwable cause)
Constructor with reason string and parent exception

Parameters:
message - message reason string
cause - parent exception

OverloadException

public OverloadException(java.lang.Throwable cause)
Constructor with parent exception

Parameters:
cause - parent exception
Method Detail

getLowThreshold

public double getLowThreshold()
Returns:
current low threshold overload value

getHighThreshold

public double getHighThreshold()
Returns:
current high threshold overload value

getValue

public double getValue()
Returns:
current overload value


Copyright © 2009. All Rights Reserved.