Back: SystemExceptions.AlreadyDefined-accessing Up: Base classes Forward: SystemExceptions.ArgumentOutOfRange class-signaling   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.158 SystemExceptions.ArgumentOutOfRange

Defined in namespace Smalltalk.SystemExceptions
Superclass: SystemExceptions.InvalidArgument
Category: Language-Exceptions
I am raised when one invokes a method with an argument outside of its valid range.

1.158.1 SystemExceptions.ArgumentOutOfRange class: signaling  (class)
1.158.2 SystemExceptions.ArgumentOutOfRange: accessing  (instance)


1.158.1 SystemExceptions.ArgumentOutOfRange class: signaling

signalOn: value mustBeBetween: low and: high
Raise the exception. The given value was not between low and high.


1.158.2 SystemExceptions.ArgumentOutOfRange: accessing

description
Answer a textual description of the exception.

high
Answer the highest value that was permitted.

high: aMagnitude
Set the highest value that was permitted.

low
Answer the lowest value that was permitted.

low: aMagnitude
Set the lowest value that was permitted.



Back: SystemExceptions.ArgumentOutOfRange class-signaling Up: SystemExceptions.ArgumentOutOfRange Forward: SystemExceptions.BadReturn   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html