info.sswap.api.model
Class DataAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by info.sswap.api.model.DataAccessException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DataException

public class DataAccessException
extends java.lang.RuntimeException

A generic, unchecked exception thrown when a problem with accessing the underlying data should occur (e.g., because the data source is unavailable or the data cannot be parsed).

Author:
Blazej Bulka
See Also:
Serialized Form

Constructor Summary
DataAccessException()
          Creates a new exception
DataAccessException(java.lang.String message)
          Creates a new exception with the specified message
DataAccessException(java.lang.String message, java.lang.Throwable cause)
          Creates a new exception with the specified message and the underlying cause
DataAccessException(java.lang.Throwable cause)
          Creates a new exception with the specified underlying 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 exception


DataAccessException

public DataAccessException(java.lang.String message)
Creates a new exception with the specified message

Parameters:
message - the specified message

DataAccessException

public DataAccessException(java.lang.Throwable cause)
Creates a new exception with the specified underlying cause

Parameters:
cause - the underlying exception that caused this exception to be generated

DataAccessException

public DataAccessException(java.lang.String message,
                           java.lang.Throwable cause)
Creates a new exception with the specified message and the underlying cause

Parameters:
message - the message describing the exception
cause - the underlying exception that caused this exception to be generated


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.