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
public class VirusScanException extends Exception
Provides a VirusScanning exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VirusScanException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContext()
Return the execution context.String
getSolution()
Return the solution.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VirusScanException
public VirusScanException(String message, String context)
Create a VirusScan exception with the given message and execution context.- Parameters:
message
- the exception messagecontext
- the execution context
-
VirusScanException
public VirusScanException(String message, String context, String solution)
Create a VirusScan exception with the given message and execution context and solution- Parameters:
message
- the exception messagecontext
- the execution contextsolution
- the solution
-
VirusScanException
public VirusScanException(String message, Throwable cause, String context)
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
public VirusScanException(String message, Throwable cause, String context, String solution)
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
-
-