- Kurt Cobain
StreamException
StreamException Methods
StreamException() | Constructor for the StreamException class |
IOError() | Returns I/O Error identifier for the error which occurred |
Stream() | Returns reference to the StreamIO object which encountered the exception |
StreamException Constants
Constant Data Item | Data Type | Value |
StreamException.FileNotFound | int | 1 |
StreamException.AccessError | int | 2 |
StreamException.SystemError | int | 3 |
StreamException.MemoryError | int | 4 |
StreamException.LimitError | int | 5 |
StreamException.EOSError | int | 6 |
StreamException.NotReadable | int | 7 |
StreamException.NotWritable | int | 8 |
StreamException.NotOpen | int | 9 |
StreamException.InvalidTextCharacter | int | 10 |
StreamException.SizeOverflow | int | 11 |
Derived Classes
None
See Also
Class Hierarchy, Thread, StreamIO
public method StreamException(StreamIO Stream, int IOError)
Parameters
Stream
StreamIO reference for exception
int
Error identifier for the exception
Return Value
None
Description
Constructor for the StreamException class using a reference to the corresponding StreamIO object and the error id.
StreamException Class
public method<int> IOError()
Parameters
None
Return Value
Error id
Description
This method returns the error identifier associated with the I/O exception. This class contains predefined constants for all I/O errors.
StreamException Class
public method<StreamIO> Stream()
Parameters
None
Return Value
StreamIO object where exception occurred
Description
This method returns a reference to the StreamIO object where the exception occurred.
StreamException Class