public class VirusInfectionException extends VSIServiceException implements ExternalizableException
History:
1.0 Initial Version for SAP NetWeaver 1.1 Added a pattern for clean test. 1.5 Enhancements in the native VSI layer 1.6 Dual runtime support (JAVA stand-alone and J2EE) 1.7 Added scanStream methods and support ActiveContent scan 1.8 Added getContentInfo and support for Content filtering 1.9 Minor bug fixes and new vendor parameters
EXPLANATION_FINALLY_EXCEPTION
Constructor and Description |
---|
VirusInfectionException(Collection infections,
Throwable cause)
Constructor for VirusInfectionException.
|
VirusInfectionException(Collection infections,
VSIServiceMessage message,
int lastErrorRC,
Throwable cause)
Constructor for VirusInfectionException.
|
Modifier and Type | Method and Description |
---|---|
Collection |
getInfectionCollection()
Return the Collection object of Infections
|
Infection[] |
getInfections()
Returns the infection array.
|
String |
getLastErrorKey()
Return the last occurred error code key in
printable form (String).
|
int |
getLastErrorRC()
Return the last occurred error code.
|
getIDMessage, getMessage, isExternalizable, logIDException
finallyLocalize, finallyLocalize, finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLogCategory, getLogLocation, getLogSeverity, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, setStackTrace, toString
public VirusInfectionException(Collection infections, Throwable cause)
infections
- Virus scan infection arraycause
- Throwable
error causepublic VirusInfectionException(Collection infections, VSIServiceMessage message, int lastErrorRC, Throwable cause)
infections
- Virus scan infection arraymessage
- VSIMessage
Message from VSI text poollastErrorRC
- The last occurred error return code.cause
- Throwable
error causepublic Infection[] getInfections()
public Collection getInfectionCollection()
public int getLastErrorRC()
getLastErrorRC
in class VSIServiceException
VSIConstans
VSIConstants
public String getLastErrorKey()
getLastErrorKey
in class VSIServiceException
VSIConstans
as StringAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/vsi/api
|
api
|
BC-JAS-SEC
|
[sap.com] J2EE-APPS
|
[sap.com]
|
-
|
BC-SEC-VIR
|
[sap.com] J2EE-APPS
|
[sap.com]
|
default
|
BC-SEC-VIR
|
Copyright 2018 SAP AG Complete Copyright Notice