Class AdapterEcmException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AdapterEcmException
    extends java.lang.RuntimeException
    This runtime exception wraps an ecm exception for adapters to be able to throw ecm exceptions in a getter or setter.
    Author:
    jschwarz
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AdapterEcmException​(com.lexmark.saperion.exceptions.EcmException cause)
      This constructor wraps the given ecm exception in a runtime exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.lexmark.saperion.exceptions.EcmException getCause()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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

      • AdapterEcmException

        public AdapterEcmException​(com.lexmark.saperion.exceptions.EcmException cause)
        This constructor wraps the given ecm exception in a runtime exception.
        Parameters:
        cause - the ecm exception to wrap
    • Method Detail

      • getCause

        public com.lexmark.saperion.exceptions.EcmException getCause()
        Overrides:
        getCause in class java.lang.Throwable