hypercast
Class HyperCastStatsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--hypercast.HyperCastException
                    |
                    +--hypercast.HyperCastStatsException
All Implemented Interfaces:
java.io.Serializable

public class HyperCastStatsException
extends HyperCastException

StatsException is used to throw errors associated with the I_Stats interface.

See Also:
Serialized Form

Field Summary
static int ChildSchemaViolatedFormatSpec
          value for type.
static int InappropriateType
          value for type.
static int InappropriateValue
          value for type E.g.
static int IncorrectSetValue
          The value format of a setValue command is incorrect.
static int StatisticNotFound
          value for type.
static int WriteToAReadOnlyValue
          value for type.
 
Constructor Summary
HyperCastStatsException(java.lang.String name, int type)
          Create an exception with certain name and type.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

StatisticNotFound

public static final int StatisticNotFound
value for type.

See Also:
Constant Field Values

WriteToAReadOnlyValue

public static final int WriteToAReadOnlyValue
value for type.

See Also:
Constant Field Values

ChildSchemaViolatedFormatSpec

public static final int ChildSchemaViolatedFormatSpec
value for type. Indicates that the child object's schema contained errors.

See Also:
Constant Field Values

InappropriateType

public static final int InappropriateType
value for type. E.g. expected an integer and was passed letters.

See Also:
Constant Field Values

InappropriateValue

public static final int InappropriateValue
value for type E.g. was negative when expected a positive integer.

See Also:
Constant Field Values

IncorrectSetValue

public static final int IncorrectSetValue
The value format of a setValue command is incorrect.

See Also:
Constant Field Values
Constructor Detail

HyperCastStatsException

public HyperCastStatsException(java.lang.String name,
                               int type)
Create an exception with certain name and type.

Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable
Returns:
an appropriate error message for the exception.