kieker.webgui.common.exception
Class DataAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by kieker.webgui.common.exception.AbstractKiekerWebGUIException
              extended by kieker.webgui.common.exception.DataAccessException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UserAlreadyExistingException

public class DataAccessException
extends AbstractKiekerWebGUIException

This exception can be thrown if an access to the data source failed. It should encapsulate more specific exceptions like SQLException.

Author:
Nils Christian Ehmke
See Also:
Serialized Form

Constructor Summary
DataAccessException()
          Creates a new instance of this exception without detail message.
DataAccessException(String msg)
          Creates a new instance of this class using the given detail message.
DataAccessException(String msg, Throwable cause)
          Creates a new instance of this class using the given detail message and 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

DataAccessException

public DataAccessException()
Creates a new instance of this exception without detail message. The cause is not initialized, but can later be initialized using Throwable.initCause(java.lang.Throwable).


DataAccessException

public DataAccessException(String msg)
Creates a new instance of this class using the given detail message. The cause is not initialized, but can later be initialized using Throwable.initCause(java.lang.Throwable).

Parameters:
msg - The detail message of the exception.

DataAccessException

public DataAccessException(String msg,
                           Throwable cause)
Creates a new instance of this class using the given detail message and cause.

Parameters:
msg - The detail message of the exception.
cause - The cause for the exception.


Copyright © 2015. All rights reserved.