|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.foundation.NSError
public abstract class NSError
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 class |
NSError._class_
|
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying |
---|
NSCopying._static_ |
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
---|
NSCoding._static_ |
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Constructor Summary | |
---|---|
NSError()
|
Method Summary | |
---|---|
static NSError |
alloc()
|
abstract NSInteger |
code()
Original signature : -(NSInteger)code native declaration : NSError.h:55 |
static NSError |
createWithDomain_code_userInfo(NSString domain,
NSInteger code,
NSDictionary dict)
Factory method |
abstract NSString |
domain()
These define the error. |
static NSError |
errorWithDomain_code_userInfo(NSString domain,
NSInteger code,
NSDictionary dict)
Original signature : +(id)errorWithDomain:(NSString*) code:(NSInteger) userInfo:(NSDictionary*) native declaration : NSError.h:50 |
static NSError._class_ |
getNSClass()
|
abstract NSString |
helpAnchor()
Return the help anchor that can be used to create a help button to accompany the error when it's displayed to the user. |
abstract NSError |
initWithDomain_code_userInfo(NSString domain,
NSInteger code,
NSDictionary dict)
Designated initializer. |
abstract NSString |
localizedDescription()
The primary user-presentable message for the error. |
abstract NSString |
localizedFailureReason()
Return a complete sentence which describes why the operation failed. |
abstract NSArray |
localizedRecoveryOptions()
Return titles of buttons that are appropriate for displaying in an alert. |
abstract NSString |
localizedRecoverySuggestion()
Return the string that can be displayed as the "informative" (aka "secondary") message on an alert panel. |
static NSError |
new_()
|
abstract NSObject |
recoveryAttempter()
Return an object that conforms to the NSErrorRecoveryAttempting informal protocol. |
abstract NSDictionary |
userInfo()
Additional info which may be used to describe the error further. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying |
---|
copyWithZone |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
---|
encodeWithCoder, initWithCoder |
Methods inherited from interface org.rococoa.ObjCObject |
---|
id |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Constructor Detail |
---|
public NSError()
Method Detail |
---|
public abstract NSError initWithDomain_code_userInfo(NSString domain, NSInteger code, NSDictionary dict)
-(id)initWithDomain:(NSString*) code:(NSInteger) userInfo:(NSDictionary*)
public static NSError createWithDomain_code_userInfo(NSString domain, NSInteger code, NSDictionary dict)
initWithDomain_code_userInfo(org.rococoa.cocoa.foundation.NSString, org.rococoa.cocoa.foundation.NSInteger, org.rococoa.cocoa.foundation.NSDictionary)
public static NSError errorWithDomain_code_userInfo(NSString domain, NSInteger code, NSDictionary dict)
+(id)errorWithDomain:(NSString*) code:(NSInteger) userInfo:(NSDictionary*)
public abstract NSString domain()
-(NSString*)domain
public abstract NSInteger code()
-(NSInteger)code
public abstract NSDictionary userInfo()
-(NSDictionary*)userInfo
public abstract NSString localizedDescription()
-(NSString*)localizedDescription
public abstract NSString localizedFailureReason()
-(NSString*)localizedFailureReason
public abstract NSString localizedRecoverySuggestion()
-(NSString*)localizedRecoverySuggestion
public abstract NSArray localizedRecoveryOptions()
-(NSArray*)localizedRecoveryOptions
public abstract NSObject recoveryAttempter()
-(id)recoveryAttempter
public abstract NSString helpAnchor()
-(NSString*)helpAnchor
public static NSError alloc()
public static NSError new_()
public static NSError._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |