com.neeve.aep
Class EAepExpectationNotMetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.neeve.root.ERootException
              extended by com.neeve.aep.EAepException
                  extended by com.neeve.aep.EAepExpectationNotMetException
All Implemented Interfaces:
Serializable

public class EAepExpectationNotMetException
extends EAepException

Thrown if a startup expectation was not met.

See Also:
Serialized Form

Constructor Summary
EAepExpectationNotMetException(Enum<?> expectationType, Enum<?> expectationValue, Object expectationData, String str)
          Construct using the expectation that was not met and a descriptive string.
 
Method Summary
 Object getUnmetExpectationData()
          Get additional expectation specific data
 Enum<?> getUnmetExpectationType()
          Get the type of the expectation that was not met
 Enum<?> getUnmetExpectationValue()
          Get the value of the expectation that was not met
 
Methods inherited from class com.neeve.root.ERootException
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
 

Constructor Detail

EAepExpectationNotMetException

public EAepExpectationNotMetException(Enum<?> expectationType,
                                      Enum<?> expectationValue,
                                      Object expectationData,
                                      String str)
Construct using the expectation that was not met and a descriptive string.

Parameters:
expectationType - The type of expectation not met.
expectationValue - The value of expectation not met.
str - A string describing the exception (returned by getMessage()).
Method Detail

getUnmetExpectationType

public final Enum<?> getUnmetExpectationType()
Get the type of the expectation that was not met


getUnmetExpectationValue

public final Enum<?> getUnmetExpectationValue()
Get the value of the expectation that was not met


getUnmetExpectationData

public final Object getUnmetExpectationData()
Get additional expectation specific data



Copyright © 2016 Neeve Research, LLC. All Rights Reserved.