InvalidFeatureCoordinatesException
extends InvalidArgumentException
in package
Class InvalidFeatureCoordinatesException
Tags
Table of Contents
Methods
- belowOrigin() : InvalidFeatureCoordinatesException
- Builds the exception raised when a PlasmidFeature is given a start or end coordinate below 1, the first valid position of the 1-based inclusive convention.
- beyondSequenceLength() : InvalidFeatureCoordinatesException
- Builds the exception raised when a PlasmidFeature is attached to a Plasmid whose sequence is shorter than one of the feature's coordinates.
Methods
belowOrigin()
Builds the exception raised when a PlasmidFeature is given a start or end coordinate below 1, the first valid position of the 1-based inclusive convention.
public
static belowOrigin(string $sBound, int $iValue) : InvalidFeatureCoordinatesException
Parameters
- $sBound : string
-
"start" or "end"
- $iValue : int
-
The rejected coordinate
Return values
InvalidFeatureCoordinatesExceptionbeyondSequenceLength()
Builds the exception raised when a PlasmidFeature is attached to a Plasmid whose sequence is shorter than one of the feature's coordinates.
public
static beyondSequenceLength(string $sFeatureName, string $sBound, int $iValue, int $iSequenceLength) : InvalidFeatureCoordinatesException
Parameters
- $sFeatureName : string
-
The offending feature's name
- $sBound : string
-
"start" or "end"
- $iValue : int
-
The rejected coordinate
- $iSequenceLength : int
-
The length of the plasmid sequence