Samond Classes Library 1.1.6-RELEASE build 132

SCStreamException.h

Go to the documentation of this file.
00001 //
00002 //  SCStreamException.h
00003 //  scl
00004 //
00005 //  Created by Viacheslav Smolensky on 03.03.12.
00006 //  Copyright (c) 2007 - 2014 by Samond Development Corporation. All rights reserved.
00007 //
00008 
00015 #import <Foundation/Foundation.h>
00016 #import <scl/SCTypes.h>
00017 #import <scl/SCException.h>
00018 #import <scl/SCNumberException.h>
00019 
00020 #define SCStreamExceptionClass @"SCStreamException" ///< SCStreamException class name
00021 
00022 #pragma mark Exception supporting types
00023 
00029 enum _SCStreamError {
00030     SCStreamErrorUnspecified        = 0,    
00031     SCStreamErrorUnexpectedClass    = 1,    
00032         SCStreamErrorIncompleteReading  = 2,    
00033         SCStreamErrorIncompleteWriting  = 3,    
00034     SCStreamErrorOpening            = 4,    
00035     SCStreamErrorNotOpen            = 5,    
00036     SCStreamErrorReadOnly           = 6,    
00037     SCStreamErrorWriteOnly          = 7,    
00038     SCStreamErrorRead               = 8,    
00039     SCStreamErrorWrite              = 9,    
00040     SCStreamErrorNumber             = 10,   
00041         SCStreamErrorUnknownClassName   = 11,   
00042         SCStreamErrorUnsupportedClass   = 12,   
00043 };
00044 
00050 typedef SCUInteger SCStreamError;
00051 
00052 #pragma mark -
00053 
00079 @interface SCStreamException : SCException {
00080     SCStreamError fType;                                // Stream error type
00081     NSString *fStreamName;                              // Stream name
00082     NSString *fUnexpectedClassName;             // Unexpected class name
00083     NSString *fExpectedClassName;               // Expected class name
00084         SCUInteger fReadedBytes;                        // Readed bytes count
00085         SCUInteger fWritedBytes;                        // Writed bytes count
00086         SCUInteger fWaitedBytes;                        // Waited bytes count
00087     SCInteger fOpenError;                               // Open error code
00088     SCInteger fReadError;                               // Read error code
00089     SCInteger fWriteError;                              // Write error code
00090     SCNumberError fNumberError;                 // NSNumber error code
00091     NSString *fNumberType;                              // NSNumber unsupported type
00092         NSString *fUnknownClassName;            // Unknown class name
00093         NSString *fUnsupportedClassName;        // Unsupported class name
00094 }
00095 #pragma mark -
00096 #pragma mark Class properties
00097 #if (__MAC_OS_X_VERSION_MIN_REQUIRED > 1040) || IOS_TARGET
00098 // Stream error type property
00099 @property (nonatomic, assign, readonly, getter=type) SCStreamError type;
00100 // Stream name property
00101 @property (nonatomic, retain, readonly, getter=streamName) NSString *streamName;
00102 // Unexpected class name property
00103 @property (nonatomic, retain, readonly, getter=unexpectedClassName) NSString *unexpectedClassName;
00104 // Expected class name property
00105 @property (nonatomic, retain, readonly, getter=expectedClassName) NSString *expectedClassName;
00106 // Readed bytes count property
00107 @property (nonatomic, assign, readonly, getter=readedBytes) SCUInteger readedBytes;
00108 // Writed bytes count property
00109 @property (nonatomic, assign, readonly, getter=writedBytes) SCUInteger writedBytes;
00110 // Waited bytes count property
00111 @property (nonatomic, assign, readonly, getter=waitedBytes) SCUInteger waitedBytes;
00112 // Open error code property
00113 @property (nonatomic, assign, readonly, getter=openError) SCInteger openError;
00114 // Read error code property
00115 @property (nonatomic, assign, readonly, getter=readError) SCInteger readError;
00116 // Write error code property
00117 @property (nonatomic, assign, readonly, getter=writeError) SCInteger writeError;
00118 // NSNumber error code property
00119 @property (assign, readonly, getter=numberError) SCNumberError numberError;
00120 // NSNumber unsupported type property
00121 @property (assign, readonly, getter=numberType) NSString *numberType;
00122 // Unknown class name property
00123 @property (retain, readonly, getter=unknownClassName) NSString *unknownClassName;
00124 // Unsupported class name property
00125 @property (retain, readonly, getter=unsupportedClassName) NSString *unsupportedClassName;
00126 #endif
00127 
00128 #pragma mark -
00129 #pragma mark Creating and Initializing Generic Stream Exception
00130 
00135 + (SCStreamException *)exception;
00136 
00145 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00146                                       type:(SCStreamError)type
00147                                     reason:(NSString *)reason;
00148 
00155 + (SCStreamException *)exceptionWithStream:(NSString *)stream type:(SCStreamError)type;
00156 
00163 + (SCStreamException *)exceptionWithStream:(NSString *)stream reason:(NSString *)reason;
00164 
00171 + (SCStreamException *)exceptionWithType:(SCStreamError)type reason:(NSString *)reason;
00172 
00178 + (SCStreamException *)exceptionWithType:(SCStreamError)type;
00179 
00185 + (SCStreamException *)exceptionWithReason:(NSString *)reason;
00186 
00191 - (id)init;
00192 
00200 - (id)initWithStream:(NSString *)stream type:(SCStreamError)type reason:(NSString *)reason;
00201 
00208 - (id)initWithStream:(NSString *)stream type:(SCStreamError)type;
00209 
00216 - (id)initWithStream:(NSString *)stream reason:(NSString *)reason;
00217 
00224 - (id)initWithType:(SCStreamError)type reason:(NSString *)reason;
00225 
00231 - (id)initWithType:(SCStreamError)type;
00232 
00238 - (id)initWithReason:(NSString *)reason;
00239 
00240 #pragma mark -
00241 #pragma mark Creating and Initializing Stream Unexpected Class Exception
00242 
00252 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00253                                 unexpected:(NSString *)unexpected
00254                                   expected:(NSString *)expected
00255                                     reason:(NSString *)reason;
00256 
00265 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00266                                 unexpected:(NSString *)unexpected
00267                                   expected:(NSString *)expected;
00268 
00277 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00278                                 unexpected:(NSString *)unexpected
00279                                     reason:(NSString *)reason;
00280 
00287 + (SCStreamException *)exceptionWithStream:(NSString *)stream unexpected:(NSString *)unexpected;
00288 
00296 + (SCStreamException *)exceptionWithUnexpectedClassFromStream:(NSString *)stream
00297                                                        reason:(NSString *)reason;
00298 
00304 + (SCStreamException *)exceptionWithUnexpectedClassFromStream:(NSString *)stream;
00305 
00314 + (SCStreamException *)exceptionWithUnexpected:(NSString *)unexpected
00315                                       expected:(NSString *)expected
00316                                         reason:(NSString *)reason;
00317 
00324 + (SCStreamException *)exceptionWithUnexpected:(NSString *)unexpected expected:(NSString *)expected;
00325 
00332 + (SCStreamException *)exceptionWithUnexpected:(NSString *)unexpected reason:(NSString *)reason;
00333 
00339 + (SCStreamException *)exceptionWithUnexpected:(NSString *)unexpected;
00340 
00346 + (SCStreamException *)exceptionWithUnexpectedClassReason:(NSString *)reason;
00347 
00352 + (SCStreamException *)exceptionWithUnexpectedClass;
00353 
00363 - (id)initWithStream:(NSString *)stream
00364           unexpected:(NSString *)unexpected
00365             expected:(NSString *)expected
00366               reason:(NSString *)reason;
00367 
00376 - (id)initWithStream:(NSString *)stream
00377           unexpected:(NSString *)unexpected
00378             expected:(NSString *)expected;
00379 
00388 - (id)initWithStream:(NSString *)stream unexpected:(NSString *)unexpected reason:(NSString *)reason;
00389 
00396 - (id)initWithStream:(NSString *)stream unexpected:(NSString *)unexpected;
00397 
00404 - (id)initWithUnexpectedClassFromStream:(NSString *)stream reason:(NSString *)reason;
00405 
00411 - (id)initWithUnexpectedClassFromStream:(NSString *)stream;
00412 
00421 - (id)initWithUnexpected:(NSString *)unexpected
00422                 expected:(NSString *)expected
00423                   reason:(NSString *)reason;
00424 
00431 - (id)initWithUnexpected:(NSString *)unexpected expected:(NSString *)expected;
00432 
00439 - (id)initWithUnexpected:(NSString *)unexpected reason:(NSString *)reason;
00440 
00446 - (id)initWithUnexpected:(NSString *)unexpected;
00447 
00453 - (id)initWithUnexpectedClassReason:(NSString *)reason;
00454 
00459 - (id)initWithUnexpectedClass;
00460 
00461 #pragma mark -
00462 #pragma mark Creating and Initializing Stream Incomplete Operation Exception
00463 
00473 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00474                                                                         readed:(SCUInteger)readed
00475                                                                         waited:(SCUInteger)waited
00476                                                                         reason:(NSString *)reason;
00477 
00486 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00487                                                                         readed:(SCUInteger)readed
00488                                                                         waited:(SCUInteger)waited;
00489 
00498 + (SCStreamException *)exceptionWithReaded:(SCUInteger)readed
00499                                                                         waited:(SCUInteger)waited
00500                                                                         reason:(NSString *)reason;
00501 
00508 + (SCStreamException *)exceptionWithReaded:(SCUInteger)readed waited:(SCUInteger)waited;
00509 
00519 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00520                                                                         writed:(SCUInteger)writed
00521                                                                         waited:(SCUInteger)waited
00522                                                                         reason:(NSString *)reason;
00523 
00532 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00533                                                                         writed:(SCUInteger)writed
00534                                                                         waited:(SCUInteger)waited;
00535 
00544 + (SCStreamException *)exceptionWithWrited:(SCUInteger)writed 
00545                                                                         waited:(SCUInteger)waited
00546                                                                         reason:(NSString *)reason;
00547 
00554 + (SCStreamException *)exceptionWithWrited:(SCUInteger)writed waited:(SCUInteger)waited;
00555 
00565 - (id)initWithStream:(NSString *)stream
00566                           readed:(SCUInteger)readed
00567                           waited:(SCUInteger)waited
00568                           reason:(NSString *)reason;
00569 
00578 - (id)initWithStream:(NSString *)stream readed:(SCUInteger)readed waited:(SCUInteger)waited;
00579 
00588 - (id)initWithReaded:(SCUInteger)readed waited:(SCUInteger)waited reason:(NSString *)reason;
00589 
00596 - (id)initWithReaded:(SCUInteger)readed waited:(SCUInteger)waited;
00597 
00607 - (id)initWithStream:(NSString *)stream
00608                           writed:(SCUInteger)writed
00609                           waited:(SCUInteger)waited
00610                           reason:(NSString *)reason;
00611 
00620 - (id)initWithStream:(NSString *)stream writed:(SCUInteger)writed waited:(SCUInteger)waited;
00621 
00630 - (id)initWithWrited:(SCUInteger)writed waited:(SCUInteger)waited reason:(NSString *)reason;
00631 
00638 - (id)initWithWrited:(SCUInteger)writed waited:(SCUInteger)waited;
00639 
00640 #pragma mark -
00641 #pragma mark Creating and Initializing Stream Opening Exception
00642 
00651 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00652                                  openError:(SCInteger)error
00653                                     reason:(NSString *)reason;
00654 
00661 + (SCStreamException *)exceptionWithStream:(NSString *)stream openError:(SCInteger)error;
00662 
00669 + (SCStreamException *)exceptionWithStream:(NSString *)stream openErrorReason:(NSString *)reason;
00670 
00676 + (SCStreamException *)exceptionWithOpenErrorStream:(NSString *)stream;
00677 
00684 + (SCStreamException *)exceptionWithOpenError:(SCInteger)error reason:(NSString *)reason;
00685 
00691 + (SCStreamException *)exceptionWithOpenError:(SCInteger)error;
00692 
00698 + (SCStreamException *)exceptionWithUnspecifiedOpenErrorReason:(NSString *)reason;
00699 
00704 + (SCStreamException *)exceptionWithUnspecifiedOpenError;
00705 
00713 - (id)initWithStream:(NSString *)stream openError:(SCInteger)error reason:(NSString *)reason;
00714 
00721 - (id)initWithStream:(NSString *)stream openError:(SCInteger)error;
00722 
00729 - (id)initWithStream:(NSString *)stream openErrorReason:(NSString *)reason;
00730 
00736 - (id)initWithOpenErrorStream:(NSString *)stream;
00737 
00744 - (id)initWithOpenError:(SCInteger)error reason:(NSString *)reason;
00745 
00751 - (id)initWithOpenError:(SCInteger)error;
00752 
00758 - (id)initWithUnspecifiedOpenErrorReason:(NSString *)reason;
00759 
00764 - (id)initWithUnspecifiedOpenError;
00765 
00766 #pragma mark -
00767 #pragma mark Creating and Initializing Stream Not Open Exception
00768 
00776 + (SCStreamException *)exceptionWithNotOpenStream:(NSString *)stream reason:(NSString *)reason;
00777 
00783 + (SCStreamException *)exceptionWithNotOpenStream:(NSString *)stream;
00784 
00790 + (SCStreamException *)exceptionWithNotOpenReason:(NSString *)reason;
00791 
00796 + (SCStreamException *)exceptionWithNotOpen;
00797 
00804 - (id)initWithNotOpenStream:(NSString *)stream reason:(NSString *)reason;
00805 
00811 - (id)initWithNotOpenStream:(NSString *)stream;
00812 
00818 - (id)initWithNotOpenReason:(NSString *)reason;
00819 
00824 - (id)initWithNotOpen;
00825 
00826 #pragma mark -
00827 #pragma mark Creating and Initializing Read Only Stream Exception
00828 
00836 + (SCStreamException *)exceptionWithReadOnlyStream:(NSString *)stream reason:(NSString *)reason;
00837 
00843 + (SCStreamException *)exceptionWithReadOnlyStream:(NSString *)stream;
00844 
00850 + (SCStreamException *)exceptionWithReadOnlyReason:(NSString *)reason;
00851 
00856 + (SCStreamException *)exceptionWithReadOnly;
00857 
00864 - (id)initWithReadOnlyStream:(NSString *)stream reason:(NSString *)reason;
00865 
00871 - (id)initWithReadOnlyStream:(NSString *)stream;
00872 
00878 - (id)initWithReadOnlyReason:(NSString *)reason;
00879 
00884 - (id)initWithReadOnly;
00885 
00886 #pragma mark -
00887 #pragma mark Creating and Initializing Write Only Stream Exception
00888 
00896 + (SCStreamException *)exceptionWithWriteOnlyStream:(NSString *)stream reason:(NSString *)reason;
00897 
00903 + (SCStreamException *)exceptionWithWriteOnlyStream:(NSString *)stream;
00904 
00910 + (SCStreamException *)exceptionWithWriteOnlyReason:(NSString *)reason;
00911 
00916 + (SCStreamException *)exceptionWithWriteOnly;
00917 
00924 - (id)initWithWriteOnlyStream:(NSString *)stream reason:(NSString *)reason;
00925 
00931 - (id)initWithWriteOnlyStream:(NSString *)stream;
00932 
00938 - (id)initWithWriteOnlyReason:(NSString *)reason;
00939 
00944 - (id)initWithWriteOnly;
00945 
00946 #pragma mark -
00947 #pragma mark Creating and Initializing Stream Reading Exception
00948 
00957 + (SCStreamException *)exceptionWithStream:(NSString *)stream
00958                                  readError:(SCInteger)error
00959                                     reason:(NSString *)reason;
00960 
00967 + (SCStreamException *)exceptionWithStream:(NSString *)stream readError:(SCInteger)error;
00968 
00976 + (SCStreamException *)exceptionWithStream:(NSString *)stream readErrorReason:(NSString *)reason;
00977 
00983 + (SCStreamException *)exceptionWithReadErrorStream:(NSString *)stream;
00984 
00992 + (SCStreamException *)exceptionWithReadError:(SCInteger)error reason:(NSString *)reason;
00993 
00999 + (SCStreamException *)exceptionWithReadError:(SCInteger)error;
01000 
01006 + (SCStreamException *)exceptionWithUnspecifiedReadErrorReason:(NSString *)reason;
01007 
01012 + (SCStreamException *)exceptionWithUnspecifiedReadError;
01013 
01022 - (id)initWithStream:(NSString *)stream readError:(SCInteger)error reason:(NSString *)reason;
01023 
01030 - (id)initWithStream:(NSString *)stream readError:(SCInteger)error;
01031 
01038 - (id)initWithStream:(NSString *)stream readErrorReason:(NSString *)reason;
01039 
01045 - (id)initWithReadErrorStream:(NSString *)stream;
01046 
01053 - (id)initWithReadError:(SCInteger)error reason:(NSString *)reason;
01054 
01060 - (id)initWithReadError:(SCInteger)error;
01061 
01067 - (id)initWithUnspecifiedReadErrorReason:(NSString *)reason;
01068 
01073 - (id)initWithUnspecifiedReadError;
01074 
01075 #pragma mark -
01076 #pragma mark Creating and Initializing Stream Writing Exception
01077 
01086 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01087                                 writeError:(SCInteger)error
01088                                     reason:(NSString *)reason;
01089 
01096 + (SCStreamException *)exceptionWithStream:(NSString *)stream writeError:(SCInteger)error;
01097 
01105 + (SCStreamException *)exceptionWithStream:(NSString *)stream writeErrorReason:(NSString *)reason;
01106 
01112 + (SCStreamException *)exceptionWithWriteErrorStream:(NSString *)stream;
01113 
01121 + (SCStreamException *)exceptionWithWriteError:(SCInteger)error reason:(NSString *)reason;
01122 
01128 + (SCStreamException *)exceptionWithWriteError:(SCInteger)error;
01129 
01135 + (SCStreamException *)exceptionWithUnspecifiedWriteErrorReason:(NSString *)reason;
01136 
01141 + (SCStreamException *)exceptionWithUnspecifiedWriteError;
01142 
01151 - (id)initWithStream:(NSString *)stream writeError:(SCInteger)error reason:(NSString *)reason;
01152 
01159 - (id)initWithStream:(NSString *)stream writeError:(SCInteger)error;
01160 
01167 - (id)initWithStream:(NSString *)stream writeErrorReason:(NSString *)reason;
01168 
01174 - (id)initWithWriteErrorStream:(NSString *)stream;
01175 
01182 - (id)initWithWriteError:(SCInteger)error reason:(NSString *)reason;
01183 
01189 - (id)initWithWriteError:(SCInteger)error;
01190 
01196 - (id)initWithUnspecifiedWriteErrorReason:(NSString *)reason;
01197 
01202 - (id)initWithUnspecifiedWriteError;
01203 
01204 #pragma mark -
01205 #pragma mark Creating and Initializing Stream Number Exception
01206 
01215 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01216                            numberException:(SCNumberException *)exception
01217                                     reason:(NSString *)reason;
01218 
01225 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01226                            numberException:(SCNumberException *)exception;
01227 
01234 + (SCStreamException *)exceptionWithNumberException:(SCNumberException *)exception
01235                                              reason:(NSString *)reason;
01236 
01242 + (SCStreamException *)exceptionWithNumberException:(SCNumberException *)exception;
01243 
01252 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01253                                numberError:(SCNumberError)error
01254                                     reason:(NSString *)reason;
01255 
01262 + (SCStreamException *)exceptionWithStream:(NSString *)stream numberError:(SCNumberError)error;
01263 
01271 + (SCStreamException *)exceptionWithNumberErrorStream:(NSString *)stream reason:(NSString *)reason;
01272 
01278 + (SCStreamException *)exceptionWithNumberErrorStream:(NSString *)stream;
01279 
01288 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01289                      unsupportedNumberType:(NSString *)type
01290                                     reason:(NSString *)reason;
01291 
01299 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01300                      unsupportedNumberType:(NSString *)type;
01301 
01309 + (SCStreamException *)exceptionWithUnsupportedNumberStream:(NSString *)stream
01310                                                      reason:(NSString *)reason;
01311 
01317 + (SCStreamException *)exceptionWithUnsupportedNumberStream:(NSString *)stream;
01318 
01325 + (SCStreamException *)exceptionWithNumberError:(SCNumberError)error reason:(NSString *)reason;
01326 
01332 + (SCStreamException *)exceptionWithNumberError:(SCNumberError)error;
01333 
01341 + (SCStreamException *)exceptionWithUnsupportedNumberType:(NSString *)type
01342                                                    reason:(NSString *)reason;
01343 
01349 + (SCStreamException *)exceptionWithUnsupportedNumberType:(NSString *)type;
01350 
01356 + (SCStreamException *)exceptionWithUnsupportedNumberReason:(NSString *)reason;
01357 
01362 + (SCStreamException *)exceptionWithUnsupportedNumber;
01363 
01372 - (id)initWithStream:(NSString *)stream
01373      numberException:(SCNumberException *)exception
01374               reason:(NSString *)reason;
01375 
01382 - (id)initWithStream:(NSString *)stream numberException:(SCNumberException *)exception;
01383 
01390 - (id)initWithNumberException:(SCNumberException *)exception reason:(NSString *)reason;
01391 
01397 - (id)initWithNumberException:(SCNumberException *)exception;
01398 
01406 - (id)initWithStream:(NSString *)stream numberError:(SCNumberError)error reason:(NSString *)reason;
01407 
01414 - (id)initWithStream:(NSString *)stream numberError:(SCNumberError)error;
01415 
01423 - (id)initWithNumberErrorStream:(NSString *)stream reason:(NSString *)reason;
01424 
01430 - (id)initWithNumberErrorStream:(NSString *)stream;
01431 
01440 - (id)initWithStream:(NSString *)stream unsupportedNumberType:(NSString *)type
01441               reason:(NSString *)reason;
01442 
01449 - (id)initWithStream:(NSString *)stream unsupportedNumberType:(NSString *)type;
01450 
01457 - (id)initWithUnsupportedNumberStream:(NSString *)stream reason:(NSString *)reason;
01458 
01464 - (id)initWithUnsupportedNumberStream:(NSString *)stream;
01465 
01472 - (id)initWithNumberError:(SCNumberError)error reason:(NSString *)reason;
01473 
01479 - (id)initWithNumberError:(SCNumberError)error;
01480 
01488 - (id)initWithUnsupportedNumberType:(NSString *)type reason:(NSString *)reason;
01489 
01495 - (id)initWithUnsupportedNumberType:(NSString *)type;
01496 
01502 - (id)initWithUnsupportedNumberReason:(NSString *)reason;
01503 
01508 - (id)initWithUnsupportedNumber;
01509 
01510 #pragma mark -
01511 #pragma mark Creating and Initializing Stream Unknown Class Name Exception
01512 
01521 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01522                                                   unknownClassName:(NSString *)className
01523                                                                         reason:(NSString *)reason;
01524 
01532 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01533                                                   unknownClassName:(NSString *)className;
01534 
01542 + (SCStreamException *)exceptionWithUnknownClassName:(NSString *)className
01543                                                                                           reason:(NSString *)reason;
01544 
01550 + (SCStreamException *)exceptionWithUnknownClassName:(NSString *)className;
01551 
01560 - (id)initWithStream:(NSString *)stream
01561         unknownClassName:(NSString *)className
01562                           reason:(NSString *)reason;
01563 
01571 - (id)initWithStream:(NSString *)stream unknownClassName:(NSString *)className;
01572 
01580 - (id)initWithUnknownClassName:(NSString *)className reason:(NSString *)reason;
01581 
01587 - (id)initWithUnknownClassName:(NSString *)className;
01588 
01589 #pragma mark -
01590 #pragma mark Creating and Initializing Stream Unsupported Class Exception
01591 
01600 + (SCStreamException *)exceptionWithStream:(NSString *)stream
01601                                                   unsupportedClass:(NSString *)name
01602                                                                         reason:(NSString *)reason;
01603 
01610 + (SCStreamException *)exceptionWithStream:(NSString *)stream unsupportedClass:(NSString *)name;
01611 
01619 + (SCStreamException *)exceptionWithUnsupportedClass:(NSString *)name reason:(NSString *)reason;
01620 
01626 + (SCStreamException *)exceptionWithUnsupportedClass:(NSString *)name;
01627 
01636 - (id)initWithStream:(NSString *)stream unsupportedClass:(NSString *)name reason:(NSString *)reason;
01637 
01644 - (id)initWithStream:(NSString *)stream unsupportedClass:(NSString *)name;
01645 
01652 - (id)initWithUnsupportedClass:(NSString *)name reason:(NSString *)reason;
01653 
01659 - (id)initWithUnsupportedClass:(NSString *)name;
01660 
01661 #pragma mark -
01662 #pragma mark Querying Exception Properties
01663 
01668 - (SCStreamError)type;
01669 
01674 - (NSString *)streamName;
01675 
01680 - (NSString *)unexpectedClassName;
01681 
01686 - (NSString *)expectedClassName;
01687 
01692 - (SCUInteger)readedBytes;
01693 
01698 - (SCUInteger)writedBytes;
01699 
01704 - (SCUInteger)waitedBytes;
01705 
01710 - (SCInteger)openError;
01711 
01716 - (SCInteger)readError;
01717 
01722 - (SCInteger)writeError;
01723 
01728 - (SCNumberError)numberError;
01729 
01734 - (NSString *)numberType;
01735 
01740 - (NSString *)unknownClassName;
01741 
01746 - (NSString *)unsupportedClassName;
01747 
01748 @end
 All Classes Files Functions Typedefs Enumerations Enumerator Defines