Class NSMessageInvocationException

All Implemented Interfaces:
Serializable

public class NSMessageInvocationException extends RuntimeException
Exception that may be thrown when failure occurs while trying to invoke a method in response to a selector.
See Also:
  • Constructor Details

    • NSMessageInvocationException

      public NSMessageInvocationException(String selectorName, Method method, Throwable cause)
      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

      public String getSelectorName()
      The name of the Objective-C selector that was being called.
      Returns:
    • getMethod

      public Method getMethod()
      The method that was being executed when this exception occurred.
      Returns: