java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ca.weblite.objc.NSMessageInvocationException
- All Implemented Interfaces:
Serializable
Exception that may be thrown when failure occurs while trying to invoke
a method in response to a selector.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNSMessageInvocationException(String selectorName, Method method, Throwable cause) Creates a new instance of this exception. -
Method Summary
Modifier and TypeMethodDescriptionThe method that was being executed when this exception occurred.The name of the Objective-C selector that was being called.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NSMessageInvocationException
Creates a new instance of this exception.- Parameters:
selectorName- The objective-c selector that was being handled.method- The method that was being executed.cause- The cause of the exception.
-
-
Method Details
-
getSelectorName
The name of the Objective-C selector that was being called.- Returns:
-
getMethod
The method that was being executed when this exception occurred.- Returns:
-