Class SearchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.owasp.dependencycheck.analyzer.exception.AnalysisException
-
- org.owasp.dependencycheck.analyzer.exception.SearchException
-
- All Implemented Interfaces:
java.io.Serializable
@ThreadSafe public class SearchException extends AnalysisException
An exception thrown when an online searching fails (such as NPM).- Author:
- Jeremy Long
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchException()
Creates a new SearchException.SearchException(java.lang.String msg)
Creates a new SearchException.SearchException(java.lang.String msg, java.lang.Throwable ex)
Creates a new SearchException.SearchException(java.lang.Throwable ex)
Creates a new SearchException.
-
-
-
Constructor Detail
-
SearchException
public SearchException()
Creates a new SearchException.
-
SearchException
public SearchException(java.lang.String msg)
Creates a new SearchException.- Parameters:
msg
- a message for the exception.
-
SearchException
public SearchException(java.lang.Throwable ex)
Creates a new SearchException.- Parameters:
ex
- the cause of the failure.
-
SearchException
public SearchException(java.lang.String msg, java.lang.Throwable ex)
Creates a new SearchException.- Parameters:
msg
- a message for the exception.ex
- the cause of the failure.
-
-