C# Class OpenStory.Common.IO.ArraySegmentException

Inheritance: System.Exception
Exibir arquivo Open project: shoftee/OpenStory Class Usage Examples

Public Methods

Method Description
GetByStartAndLength ( int startOffset, int length ) : ArraySegmentException

Gets a new instance of ArraySegmentException with a message that an array segment with a given start offset and length does not fit into the array's bounds.

Private Methods

Method Description
ArraySegmentException ( string message ) : System

Initializes a new instance of ArraySegmentException.

Method Details

GetByStartAndLength() public static method

Gets a new instance of ArraySegmentException with a message that an array segment with a given start offset and length does not fit into the array's bounds.
public static GetByStartAndLength ( int startOffset, int length ) : ArraySegmentException
startOffset int The start offset of the invalid segment.
length int The length of the invalid segment.
return ArraySegmentException