pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.streamscanner
Class VirusStreamException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.torweg.pulse.util.streamscanner.InacceptableStreamException
                  extended by org.torweg.pulse.util.streamscanner.VirusStreamException
All Implemented Interfaces:
java.io.Serializable

public class VirusStreamException
extends InacceptableStreamException

is an exception thrown if a scanned stream contains contents which are subject to virus scans.

Version:
$Revision: 1416 $
Author:
Thomas Weber
See Also:
Serialized Form

Constructor Summary
VirusStreamException(java.lang.String msg)
          creates a new VirusStreamException with the given message.
VirusStreamException(java.lang.String msg, java.lang.Throwable cause)
          creates a new VirusStreamException with the given message and root 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

VirusStreamException

public VirusStreamException(java.lang.String msg)
creates a new VirusStreamException with the given message.

Parameters:
msg - the message

VirusStreamException

public VirusStreamException(java.lang.String msg,
                            java.lang.Throwable cause)
creates a new VirusStreamException with the given message and root cause.

Parameters:
msg - the message
cause - the root cause