com.kuka.common.persistence
Class DataSourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.kuka.common.exceptions.KUKAException
              extended by com.kuka.common.persistence.DataSourceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataBaseException, DataToSaveIncorrect, RequestedDataNotAvailable, XMLException

public abstract class DataSourceException
extends KUKAException

Base Exception for all data source exceptions.

See Also:
Serialized Form

Constructor Summary
DataSourceException(String reason)
          Creates a new instance with a descriptive message.
DataSourceException(String reason, Throwable cause)
          Creates a new instance with a descriptive message and the root cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

public DataSourceException(String reason)
Creates a new instance with a descriptive message.

Parameters:
reason - Descriptive message.

DataSourceException

public DataSourceException(String reason,
                           Throwable cause)
Creates a new instance with a descriptive message and the root cause.

Parameters:
reason - the descriptive message
cause - the Throwable which caused this exception


Copyright © 2019. All rights reserved.