Samond Classes Library 1.1.6-RELEASE build 132

SCNotFoundException.h

Go to the documentation of this file.
00001 //
00002 //  SCNotFoundException.h
00003 //  scl
00004 //
00005 //  Created by Viacheslav Smolensky on 17.11.11.
00006 //  Copyright (c) 2007 - 2014 by Samond Development Corporation. All rights reserved.
00007 //
00008 
00016 #import <Foundation/Foundation.h>
00017 #import <scl/SCException.h>
00018 
00019 #define SCNotFoundExceptionClass @"SCNotFoundException" ///< SCNotFoundException class name
00020 
00021 #pragma mark -
00022 #pragma mark Exception name constant
00023 
00024 #define SCNotFoundErrorName @"SCNotFound"   ///< Name of exception
00025 
00026 #pragma mark -
00027 
00036 @interface SCNotFoundException : SCException {
00037     NSString *fMissingData;     // Missing data
00038 }
00039 #pragma mark -
00040 #pragma mark Class properties
00041 #if (__MAC_OS_X_VERSION_MIN_REQUIRED > 1040) || IOS_TARGET
00042 // Missing data property
00043 @property (nonatomic, retain, readonly, getter=missingData) NSString *missingData;
00044 #endif
00045 
00046 #pragma mark -
00047 #pragma mark Creating Not Found Exception
00048 
00053 + (SCNotFoundException *)exception;
00054 
00060 + (SCNotFoundException *)exceptionWithMissingData:(NSString *)data;
00061 
00067 + (SCNotFoundException *)exceptionWithReason:(NSString *)reason;
00068 
00069 #pragma mark -
00070 #pragma mark Initializing Not Found Exception
00071 
00076 - (id)init;
00077 
00083 - (id)initWithMissingData:(NSString *)data;
00084 
00090 - (id)initWithReason:(NSString *)reason;
00091 
00092 #pragma mark -
00093 #pragma mark Querying Exception Properties
00094 
00099 - (NSString *)missingData;
00100 
00101 @end
 All Classes Files Functions Typedefs Enumerations Enumerator Defines