Package io.smallrye.common.version
Class VersionSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- io.smallrye.common.version.VersionSyntaxException
-
- All Implemented Interfaces:
Serializable
public class VersionSyntaxException extends IllegalArgumentException
An exception thrown when a version string has an invalid syntax.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VersionSyntaxException()Constructs a newVersionSyntaxExceptioninstance.VersionSyntaxException(String msg)Constructs a newVersionSyntaxExceptioninstance with an initial message.VersionSyntaxException(String msg, Throwable cause)Constructs a newVersionSyntaxExceptioninstance with an initial message and cause.VersionSyntaxException(Throwable cause)Constructs a newVersionSyntaxExceptioninstance with an initial cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VersionSyntaxException
public VersionSyntaxException()
Constructs a newVersionSyntaxExceptioninstance. The message is left blank (null), and no cause is specified.
-
VersionSyntaxException
public VersionSyntaxException(String msg)
Constructs a newVersionSyntaxExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
VersionSyntaxException
public VersionSyntaxException(Throwable cause)
Constructs a newVersionSyntaxExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisVersionSyntaxException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
-