Package de.xima.fc.exceptions
Class MalwareDetectedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- de.xima.fc.exceptions.MalwareDetectedException
-
- All Implemented Interfaces:
Serializable
public final class MalwareDetectedException extends IOException
Generic exception that is thrown when a file or some data was detected to contain malware.- Since:
- 7.0.13
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalwareDetectedException(String message)
Creates a new exception with the given message.MalwareDetectedException(String message, Throwable cause)
Creates a new exception with the given message and cause.MalwareDetectedException(Throwable cause)
Creates a new exception with the given cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MalwareDetectedException
public MalwareDetectedException(String message, Throwable cause)
Creates a new exception with the given message and cause. Usually used when the malware scan could not be performed due to an unhandled error.- Parameters:
message
- Error message describing the issue.cause
- Root cause that prevented the malware scan.
-
MalwareDetectedException
public MalwareDetectedException(String message)
Creates a new exception with the given message. Usually used when the malware scan was performed successfully, but resulted in the detection of some malware.- Parameters:
message
- Error message describing the issue.
-
MalwareDetectedException
public MalwareDetectedException(Throwable cause)
Creates a new exception with the given cause. Usually used when the malware scan could not be performed due to an unhandled error.- Parameters:
cause
- Root cause that prevented the malware scan.
-
-