Package com.avoka.fc.core.service
Class VirusScanException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.avoka.fc.core.service.VirusScanException
- All Implemented Interfaces:
Serializable
Provides a VirusScanning exception.
- See Also:
-
Constructor Summary
ConstructorDescriptionVirusScanException
(String message, String context) Create a VirusScan exception with the given message and execution context.VirusScanException
(String message, String context, String solution) Create a VirusScan exception with the given message and execution context and solutionVirusScanException
(String message, Throwable cause, String context) Create a VirusScan exception with the given message, cause and execution context.VirusScanException
(String message, Throwable cause, String context, String solution) Create a VirusScan exception with the given message, cause and execution context. -
Method Summary
Modifier and TypeMethodDescriptionReturn the execution context.Return the solution.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VirusScanException
Create a VirusScan exception with the given message and execution context.- Parameters:
message
- the exception messagecontext
- the execution context
-
VirusScanException
Create a VirusScan exception with the given message and execution context and solution- Parameters:
message
- the exception messagecontext
- the execution contextsolution
- the solution
-
VirusScanException
Create a VirusScan exception with the given message, cause and execution context.- Parameters:
message
- the exception messagecause
- the cause of the exceptioncontext
- the execution context
-
VirusScanException
Create a VirusScan exception with the given message, cause and execution context.- Parameters:
message
- the exception messagecause
- the cause of the exceptioncontext
- the execution contextsolution
- the solution
-
-
Method Details
-
getContext
Return the execution context.- Returns:
- the execution context
-
getSolution
Return the solution.- Returns:
- the solution
-