Documentation

InvalidFeatureCoordinatesException extends InvalidArgumentException

Class InvalidFeatureCoordinatesException

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

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

beyondSequenceLength()

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

Return values
InvalidFeatureCoordinatesException
On this page

Search results