Class DataSourceException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DataSourceOfflineException, UnknownDataSourceException

    public abstract class DataSourceException
    extends SaBasicException
    This exception indicates that something went wrong concerning a specific data source. This class is not intended to be thrown itself. Use specific subclasses instead or - if none is applicable - define a new one. Thus the class is declared abstract. It is however intended to be used in "throws"-clauses.
    Author:
    jschwarz
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DataSourceException​(java.lang.String message, java.lang.String dataSourceName)  
      protected DataSourceException​(java.lang.String message, java.lang.String dataSourceName, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDataSourceName()  
      • 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

      • DataSourceException

        protected DataSourceException​(java.lang.String message,
                                      java.lang.String dataSourceName)
      • DataSourceException

        protected DataSourceException​(java.lang.String message,
                                      java.lang.String dataSourceName,
                                      java.lang.Throwable cause)
    • Method Detail

      • getDataSourceName

        public java.lang.String getDataSourceName()