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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionMalwareDetectedException
(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.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 Details
-
MalwareDetectedException
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
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
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.
-