edu.sdsc.inca.agent
Class AccessMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.sdsc.inca.agent.AccessMethodException
All Implemented Interfaces:
java.io.Serializable

public class AccessMethodException
extends java.lang.Exception

Since each access method will raise exceptions specific to that access method, this class provides a way to encapsulate those errors so that calling code can separate out remote failures w/o using the very general Exception class.

Author:
Shava Smallen <ssmallen@sdsc.edu>
See Also:
Serialized Form

Constructor Summary
AccessMethodException()
          Creates a new AccessMethodException Object.
AccessMethodException(java.lang.String s)
          Creates a new AccessMethodException Object.
AccessMethodException(java.lang.String s, java.lang.Throwable throwable)
          Creates a new AccessMethodException Object.
AccessMethodException(java.lang.Throwable throwable)
          Creates a new AccessMethodException Object.
 
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

AccessMethodException

public AccessMethodException()
Creates a new AccessMethodException Object.


AccessMethodException

public AccessMethodException(java.lang.String s)
Creates a new AccessMethodException Object.

Parameters:
s - the message

AccessMethodException

public AccessMethodException(java.lang.String s,
                             java.lang.Throwable throwable)
Creates a new AccessMethodException Object.

Parameters:
s - message
throwable - cause

AccessMethodException

public AccessMethodException(java.lang.Throwable throwable)
Creates a new AccessMethodException Object.

Parameters:
throwable - cause