com.sap.security.core.server.vsi.api.exception
Class VirusScanException
com.sap.security.core.server.vsi.api.exception.VSIServiceException
|
+--com.sap.security.core.server.vsi.api.exception.VirusScanException
- All Implemented Interfaces:
- ExternalizableException
- public class VirusScanException
- extends VSIServiceException
- implements ExternalizableException
Virus scan exceptions thrown by scan/clean functions.
These execeptions are thrown in situations of scan
errors.
History:
1.0 Initial Version for SAP NetWeaver 04
1.1 Added a pattern for clean test.
1.5 Enhancements in the native VSI layer
1.6 Dual runtime support (JAVA standalone and J2EE)
- Since:
- 1.0
- Version:
- 1.6, $DateTime: 2007/03/20 15:29:56 $
|
Constructor Summary |
VirusScanException(java.util.Collection scanErrors,
java.lang.Throwable cause)
Constructor for VirusScanException. |
VirusScanException(java.util.Collection scanErrors,
VSIServiceMessage message,
int lastErrorRC,
java.lang.Throwable cause)
Constructor for VirusScanException. |
VirusScanException
public VirusScanException(java.util.Collection scanErrors,
java.lang.Throwable cause)
- Constructor for VirusScanException.
- Parameters:
scanErrors - Array of ScanError objects retrieved from provider.cause - Throwable error cause
VirusScanException
public VirusScanException(java.util.Collection scanErrors,
VSIServiceMessage message,
int lastErrorRC,
java.lang.Throwable cause)
- Constructor for VirusScanException.
- Parameters:
scanErrors - Array of ScanError objects retrieved from provider.message - VSIMessage Message from VSI text poollastErrorRC - The last occured error return code.cause - Throwable error cause
getScanErrors
public ScanError[] getScanErrors()
- Returns the scan error array.
- Returns:
- The scan error array.
getScanErrorCollection
public java.util.Collection getScanErrorCollection()
- Return the ScanError objects as Collection
- Returns:
- Return the ScanError objects as Collection
getLastErrorRC
public int getLastErrorRC()
- Return the last occured error code.
- Overrides:
getLastErrorRC in class VSIServiceException
- Returns:
- Return code from
VSIConstans - See Also:
VSIConstants
getLastErrorKey
public java.lang.String getLastErrorKey()
- Return the last orrured error code key in
printable form (String).
- Overrides:
getLastErrorKey in class VSIServiceException
- Returns:
- Return code from
VSIConstans as String