Class ManagedObjectEscalation

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getObjectType()
      Obtains the Class of the Object returned from the failed ManagedObject.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ManagedObjectEscalation

        public ManagedObjectEscalation​(java.lang.Class<?> objectType)
        Initiate.
        Parameters:
        objectType - Class of the Object returned from the failed ManagedObject.
      • ManagedObjectEscalation

        public ManagedObjectEscalation​(java.lang.Class<?> objectType,
                                       java.lang.Throwable cause)
        Allows for a cause of the Escalation.
        Parameters:
        objectType - Class of the Object returned from the failed ManagedObject.
        cause - Cause of the Escalation.
    • Method Detail

      • getObjectType

        public java.lang.Class<?> getObjectType()
        Obtains the Class of the Object returned from the failed ManagedObject.
        Returns:
        Class of the Object returned from the failed ManagedObject.