uk.ac.ic.doc.automed
Class RepositoryAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.ac.ic.doc.automed.AutoMedException
              extended by uk.ac.ic.doc.automed.RepositoryAccessException
All Implemented Interfaces:
java.io.Serializable

public class RepositoryAccessException
extends AutoMedException

The class of exceptions generated when executing updates and queries to TTSR, TTR, TER, SMR.

See Also:
Serialized Form

Constructor Summary
RepositoryAccessException(java.lang.String msg)
           
RepositoryAccessException(java.lang.String msg, java.lang.Exception e)
           
 
Method Summary
 java.lang.Throwable getCause()
          Return the source exception
 void printStackTrace()
          Overrides {#link Exception.printStackTrace()} method to also print source exception details
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryAccessException

public RepositoryAccessException(java.lang.String msg)

RepositoryAccessException

public RepositoryAccessException(java.lang.String msg,
                                 java.lang.Exception e)
Method Detail

printStackTrace

public void printStackTrace()
Description copied from class: AutoMedException
Overrides {#link Exception.printStackTrace()} method to also print source exception details

Overrides:
printStackTrace in class AutoMedException

getCause

public java.lang.Throwable getCause()
Description copied from class: AutoMedException
Return the source exception

Overrides:
getCause in class AutoMedException