org.rococoa.cocoa.foundation.categories
Interface NSErrorRecoveryAttempting

All Superinterfaces:
ObjCObject

public interface NSErrorRecoveryAttempting
extends ObjCObject

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSErrorRecoveryAttempting._static_
           
 
Method Summary
 void attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(NSError error, NSUInteger recoveryOptionIndex, ObjCObject delegate, Selector didRecoverSelector, Pointer contextInfo)
          Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate.
 boolean attemptRecoveryFromError_optionIndex(NSError error, NSUInteger recoveryOptionIndex)
          Given that an error alert has been presented applicaton-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and return YES if error recovery was completely successful, NO otherwise.
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Method Detail

attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo

void attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(NSError error,
                                                                                  NSUInteger recoveryOptionIndex,
                                                                                  ObjCObject delegate,
                                                                                  Selector didRecoverSelector,
                                                                                  Pointer contextInfo)
Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate. The option index is an index into the error's array of localized recovery options. The method selected by didRecoverSelector must have the same signature as:
- (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo;
The value passed for didRecover must be YES if error recovery was completely successful, NO otherwise.
Original signature : -(void)attemptRecoveryFromError:(NSError*) optionIndex:(NSUInteger) delegate:(id) didRecoverSelector:(SEL) contextInfo:(void*)
from NSErrorRecoveryAttempting native declaration : NSError.h:102


attemptRecoveryFromError_optionIndex

boolean attemptRecoveryFromError_optionIndex(NSError error,
                                             NSUInteger recoveryOptionIndex)
Given that an error alert has been presented applicaton-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and return YES if error recovery was completely successful, NO otherwise. The recovery option index is an index into the error's array of localized recovery options.
Original signature : -(BOOL)attemptRecoveryFromError:(NSError*) optionIndex:(NSUInteger)
from NSErrorRecoveryAttempting native declaration : NSError.h:106



Copyright © 2009. All Rights Reserved.