Siminov Exception
Siminov Framework edited this page Aug 22, 2015
·
10 revisions
This is a general exception, which is thrown through basic Siminov API, if any exception occur while performing any tasks.
public class SiminovException extends Exception {
public String getClassName() { }
public void setClassName(String className) { }
public String getMethodName() { }
public void setMethodName(String methodName) { }
public String getMessage() { }
public void setMessage(String message) { }
}
@interface SICSiminovException:NSException {
}
- (id)initWithClassName:(NSString* const)className methodName:(NSString* const)methodName message:(NSString* const)message;
- (NSString *)getClassName;
- (void)setClassName:(NSString* const)className;
- (NSString *)getMethodName;
- (void)setMethodName:(NSString* const)methodName;
- (NSString *)getMessage;
- (void)setMessage:(NSString* const)message;
@end
public class SiminovException : System.Exception, IException
{
String GetClassName() { }
void SetClassName(String className) { }
String GetMethodName() { }
void SetMethodName(String methodName) { }
String GetMessage() { }
void SetMessage(String message) { }
}
function SiminovException() {
this.getClassName = function() { }
this.setClassName = function(className) { }
this.getMethodName = function() { }
this.setMethodName = function(methodName) { }
this.getMessage = function() { }
this.setMessage = function(message) { }
}