Top Description Fields Constructors
io.smallrye.common.version

public Class VersionSyntaxException

extends IllegalArgumentException
Class Inheritance

An exception thrown when a version string has an invalid syntax.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
VersionSyntaxException()

Constructs a new VersionSyntaxException instance.

public
VersionSyntaxException(final String
the message
msg
)

Constructs a new VersionSyntaxException instance with an initial message.

public
VersionSyntaxException(final Throwable
the cause
cause
)

Constructs a new VersionSyntaxException instance with an initial cause.

public
VersionSyntaxException(final String
the message
msg
,
final Throwable
the cause
cause
)

Constructs a new VersionSyntaxException instance with an initial message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Constructor Detail

VersionSyntaxExceptionback to summary
public VersionSyntaxException()

Constructs a new VersionSyntaxException instance. The message is left blank (null), and no cause is specified.

VersionSyntaxExceptionback to summary
public VersionSyntaxException(final String msg)

Constructs a new VersionSyntaxException instance with an initial message. No cause is specified.

Parameters
msg:String

the message

VersionSyntaxExceptionback to summary
public VersionSyntaxException(final Throwable cause)

Constructs a new VersionSyntaxException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this VersionSyntaxException; otherwise the message is left blank (null).

Parameters
cause:Throwable

the cause

VersionSyntaxExceptionback to summary
public VersionSyntaxException(final String msg, final Throwable cause)

Constructs a new VersionSyntaxException instance with an initial message and cause.

Parameters
msg:String

the message

cause:Throwable

the cause