Models
Class RateCategory.RateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by Exceptions.GeneralException
              extended by Models.RateCategory.RateException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RateCategory

public class RateCategory.RateException
extends GeneralException

Exception thrown if there is a problem within a RateClass

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class Exceptions.GeneralException
GeneralException.Debug
 
Constructor Summary
RateCategory.RateException(java.lang.String msg)
          Constructor for other exception when there isn't an underlying cause
RateCategory.RateException(java.lang.String location, java.lang.String text, java.lang.String reason, java.lang.Throwable cause)
          Constructor when there is a problem at a specific point in the rate matrix or frequency array
RateCategory.RateException(java.lang.String msg, java.lang.Throwable cause)
          Constructor for other exception when there is an underlying cause
 
Method Summary
 
Methods inherited from class Exceptions.GeneralException
setDebug, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RateCategory.RateException

public RateCategory.RateException(java.lang.String location,
                                  java.lang.String text,
                                  java.lang.String reason,
                                  java.lang.Throwable cause)
Constructor when there is a problem at a specific point in the rate matrix or frequency array

Parameters:
location - A description of where the problem occured
text - The text that caused the problem (if applicable)
reason - Description of the problem
cause - The underlying Throwable if applicable or null if not

RateCategory.RateException

public RateCategory.RateException(java.lang.String msg)
Constructor for other exception when there isn't an underlying cause

Parameters:
msg - The problem

RateCategory.RateException

public RateCategory.RateException(java.lang.String msg,
                                  java.lang.Throwable cause)
Constructor for other exception when there is an underlying cause

Parameters:
msg - The problem
cause - The underlying cause