Class DataIntegrationException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class DataIntegrationException
    extends java.lang.Exception
    Represents an error with user-friendly message happened during a data integration task.
    Since:
    4.1.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DataIntegrationException​(com.onwbp.base.text.UserMessage message)
      Constructs a new DataIntegrationException with given message.
      DataIntegrationException​(com.onwbp.base.text.UserMessage message, java.lang.Throwable cause)
      Constructs a new DataIntegrationException with given message and exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      com.onwbp.base.text.UserMessage getUserMessage()
      Returns the user message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataIntegrationException

        public DataIntegrationException​(com.onwbp.base.text.UserMessage message)
        Constructs a new DataIntegrationException with given message.
        Parameters:
        message - the error message.
      • DataIntegrationException

        public DataIntegrationException​(com.onwbp.base.text.UserMessage message,
                                        java.lang.Throwable cause)
        Constructs a new DataIntegrationException with given message and exception.
        Parameters:
        message - the error message.
        cause - the exception.
    • Method Detail

      • getUserMessage

        public com.onwbp.base.text.UserMessage getUserMessage()
        Returns the user message.
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable