Class UnsupportedCallbackException

    • Constructor Detail

      • UnsupportedCallbackException

        public UnsupportedCallbackException​(Callback callback)
        Creates a new exception instance and initializes it with just the unsupported Callback, but no error message.
        Parameters:
        callback - the Callback
      • UnsupportedCallbackException

        public UnsupportedCallbackException​(Callback callback,
                                            String message)
        Creates a new exception instance and initializes it with both the unsupported Callback and an error message.
        Parameters:
        callback - the Callback
        message - the error message
    • Method Detail

      • getCallback

        public Callback getCallback()
        Returns the unsupported Callback that triggered this exception.
        Returns:
        the Callback