com.kuka.common.persistence.Level3Exceptions
Class SQLQueryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.kuka.common.exceptions.KUKARuntimeException
                  extended by com.kuka.common.persistence.DataSourceRuntimeException
                      extended by com.kuka.common.persistence.Level3Exceptions.DataBaseRuntimeException
                          extended by com.kuka.common.persistence.Level3Exceptions.SQLQueryException
All Implemented Interfaces:
Serializable

public class SQLQueryException
extends DataBaseRuntimeException

Base exception for all connection exceptions.

See Also:
Serialized Form

Constructor Summary
SQLQueryException(String reason)
          Creates a new instance with a specified message.
SQLQueryException(String reason, Throwable cause)
          Creates a new instance of the exception with a specified message and the cause of the error.
SQLQueryException(Throwable cause)
          Creates a new instance of the exception with the underlying error 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

SQLQueryException

public SQLQueryException(String reason)
Creates a new instance with a specified message.

Parameters:
reason - a descriptive message for the error reason.

SQLQueryException

public SQLQueryException(String reason,
                         Throwable cause)
Creates a new instance of the exception with a specified message and the cause of the error.

Parameters:
reason - a descriptive message for the error reason.
cause - the underlying error cause.

SQLQueryException

public SQLQueryException(Throwable cause)
Creates a new instance of the exception with the underlying error cause.

Parameters:
cause - the underlying error cause.


Copyright © 2019. All rights reserved.