Documentation

InvalidSequenceException extends InvalidArgumentException

Class InvalidSequenceException

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Table of Contents

Methods

invalidSymbol()  : InvalidSequenceException
Builds the exception raised when a symbol does not belong to the alphabet of the value object.
unsupportedMolType()  : InvalidSequenceException
Builds the exception raised when a molecule type cannot be mapped to a value object.

Methods

invalidSymbol()

Builds the exception raised when a symbol does not belong to the alphabet of the value object.

public static invalidSymbol(string $sMolType, string $sSymbol, int $iPosition) : InvalidSequenceException
Parameters
$sMolType : string

The molecule type of the rejected value object (DNA, RNA, PROTEIN)

$sSymbol : string

The offending symbol

$iPosition : int

Zero-based position of the offending symbol

Return values
InvalidSequenceException
On this page

Search results