class Fox::FXStreamError
FXStreamError is the base class for exceptions which can occur when working with FXStream and its subclasses.
Public Class Methods
Source
# File lib/fox16/core.rb, line 422 def FXStreamError.makeStreamError(status) case status when FXStreamEnd FXStreamEndError when FXStreamFull FXStreamFullError when FXStreamNoWrite FXStreamNoWriteError when FXStreamNoRead FXStreamNoReadError when FXStreamFormat FXStreamFormatError when FXStreamUnknown FXStreamUnknownError when FXStreamAlloc FXStreamAllocError when FXStreamFailure FXStreamFailureError else FXStreamError end end
This is a factory method that takes an FXStreamStatus code as its input and returns the appropriate exception class.