Class VirusScanException

    • Constructor Detail

      • 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 Detail

      • getContext

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

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