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:
  • Constructor Details

    • VirusScanException

      public VirusScanException(String message, String context)
      Create a VirusScan exception with the given message and execution context.
      Parameters:
      message - the exception message
      context - 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 message
      context - the execution context
      solution - 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 message
      cause - the cause of the exception
      context - 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 message
      cause - the cause of the exception
      context - the execution context
      solution - the solution
  • Method Details

    • getContext

      public String getContext()
      Return the execution context.
      Returns:
      the execution context
    • getSolution

      public String getSolution()
      Return the solution.
      Returns:
      the solution