public class InvalidSegmentException extends Exception
| Constructor and Description |
|---|
InvalidSegmentException(Segment segment,
int segmentCount,
org.apache.maven.artifact.versioning.ArtifactVersion version)
Constructs the exception object
|
| Modifier and Type | Method and Description |
|---|---|
Segment |
getSegment() |
int |
getSegmentCount() |
org.apache.maven.artifact.versioning.ArtifactVersion |
getVersion() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidSegmentException(Segment segment, int segmentCount, org.apache.maven.artifact.versioning.ArtifactVersion version)
segment - the invalid segment index.segmentCount - the number of segments.version - the version object.public Segment getSegment()
public int getSegmentCount()
public org.apache.maven.artifact.versioning.ArtifactVersion getVersion()
Copyright © 2008–2022 MojoHaus. All rights reserved.