Package org.robovm.apple.foundation
Class NSErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.robovm.apple.foundation.NSErrorException
- All Implemented Interfaces:
Serializable
public class NSErrorException extends Exception
NSErrorException extends from Exception and wraps NSError.
It is used throughout the Cocoa frameworks on methods that return pointers to NSError.
Use getError() to get the NSError instance that was used to instantiate this exception.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NSErrorException(NSError error) -
Method Summary
Modifier and Type Method Description NSErrorgetError()StringgetMessage()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NSErrorException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getError
-