org.dicom4j.network.protocoldataunit
Class ProtocolDataUnitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.dicom4j.dicom.DicomException
              extended by org.dicom4j.network.DicomNetworkException
                  extended by org.dicom4j.network.protocoldataunit.ProtocolDataUnitException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NotSpecifiedException, ProtocolDataUnitDecoderException, ProtocolDataUnitEncoderException, UnrecognizedPDUException

public class ProtocolDataUnitException
extends DicomNetworkException

Common Exception related to PDU

Author:
Laurent Lecomte
See Also:
Serialized Form

Constructor Summary
ProtocolDataUnitException(byte aReason, String aMessage)
          Construct a new ProtocolDataUnitException
ProtocolDataUnitException(String aMessage)
           
ProtocolDataUnitException(String arg0, Throwable arg1)
           
 
Method Summary
 byte getReason()
           
 
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

ProtocolDataUnitException

public ProtocolDataUnitException(byte aReason,
                                 String aMessage)
Construct a new ProtocolDataUnitException

Parameters:
aReason - The reason of exception
aMessage -
See Also:
org.dicom4j.AAbortPDU.Reasons

ProtocolDataUnitException

public ProtocolDataUnitException(String aMessage)

ProtocolDataUnitException

public ProtocolDataUnitException(String arg0,
                                 Throwable arg1)
Method Detail

getReason

public byte getReason()


Copyright © 2009 dicom4j. All Rights Reserved.