org.dicom4j.network.association
Class AssociationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.dicom4j.dicom.DicomException
              extended by org.dicom4j.network.association.AssociationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssociationClosedException

public class AssociationException
extends DicomException

Association related exceptions

Since:
0.1
Author:
Laurent Lecomte
See Also:
Serialized Form

Constructor Summary
AssociationException(Association association, Exception exception)
          creates a new Exception
AssociationException(Association association, String message)
           
 
Method Summary
 Association getAssociation()
          return the related association
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssociationException

public AssociationException(Association association,
                            String message)

AssociationException

public AssociationException(Association association,
                            Exception exception)
creates a new Exception

Parameters:
association - the related association
exception - the initial exception
Method Detail

getAssociation

public Association getAssociation()
return the related association

Returns:


Copyright © 2009 dicom4j. All Rights Reserved.