Samond Classes Library 1.2.6-STABLE build 219
SCAbstractMethodException.h
Go to the documentation of this file.
1 //
2 // SCAbstractMethodException.h
3 // scl
4 //
5 // Created by Viacheslav Smolensky on 02.11.11.
6 // Copyright (c) 2007 - 2018 by Samond Development Corporation. All rights reserved.
7 //
8 
24 #import <Foundation/Foundation.h>
25 #import <scl/SCException.h>
26 
27 #pragma mark -
28 #pragma mark Class Constants
29 
38 #define SCAbstractMethodExceptionClass @"SCAbstractMethodException"
39 
44 #define SCAbstractMethodErrorName @"SCAbstractMethod"
45 
46 #pragma mark -
47 #pragma mark Error Codes and IDs
48 
57 #define SCAbstractMethodError -20001
58 
63 #define SCAbstractMethodEID @"SCL-20001"
64 
81  NSString *_methodName; // Name of the called abstract method
82 }
83 #pragma mark -
84 #pragma mark Instance Properties
85 
94 @property (nonatomic, readonly, retain) NSString *methodName;
95 
98 #pragma mark -
99 #pragma mark Creating Class Instances (SCL-20021)
100 + (instancetype)exceptionWithMethod:(NSString *)method;
101 + (instancetype)exception;
102 
103 @end
Parent class of all library exceptions.
Definition: SCException.h:72
Exception SCException header file.
Abstract method calling exception class.
Definition: SCAbstractMethodException.h:80