Class ComposerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.owasp.dependencycheck.data.composer.ComposerException
-
- All Implemented Interfaces:
java.io.Serializable
@ThreadSafe public class ComposerException extends java.lang.RuntimeException
Represents an exception when handling a composer.json or composer.lock file. Generally used to wrap a downstream exception.- Author:
- colezlaw
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComposerException()
Creates a ComposerException with default message.ComposerException(java.lang.String message)
Creates a ComposerException with the specified message.ComposerException(java.lang.String message, java.lang.Throwable cause)
Creates a Composer exception with the specified message and cause.
-
-
-
Constructor Detail
-
ComposerException
public ComposerException()
Creates a ComposerException with default message.
-
ComposerException
public ComposerException(java.lang.String message)
Creates a ComposerException with the specified message.- Parameters:
message
- the exception message
-
ComposerException
public ComposerException(java.lang.String message, java.lang.Throwable cause)
Creates a Composer exception with the specified message and cause.- Parameters:
message
- the messagecause
- the underlying cause
-
-