Class JemmyException

    • Constructor Detail

      • JemmyException

        public JemmyException​(String description)
        Constructor.
        Parameters:
        description - An exception description.
      • JemmyException

        public JemmyException​(String description,
                              Throwable innerException)
        Constructor.
        Parameters:
        description - An exception description.
        innerException - Exception from code invoked from jemmy.
      • JemmyException

        public JemmyException​(String description,
                              Object object)
        Constructor.
        Parameters:
        description - An exception description.
        object - Object regarding which exception is thrown.
      • JemmyException

        public JemmyException​(String description,
                              Throwable innerException,
                              Object object)
        Constructor.
        Parameters:
        description - An exception description.
        innerException - Exception from code invoked from jemmy.
        object - Object regarding which exception is thrown.
    • Method Detail

      • getObject

        public Object getObject()
        Returns "object" constructor parameter.
        Returns:
        the Object value associated with the exception.
      • getInnerException

        public Exception getInnerException()
        Deprecated.
        Use getInnerThrowable()
        Returns inner exception.
        Returns:
        An inner exception.
      • getInnerThrowable

        public Throwable getInnerThrowable()
        Returns inner throwable.
        Returns:
        An inner throwable.
      • printStackTrace

        public void printStackTrace()
        Prints stack trace into System.out.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintStream ps)
        Prints stack trace.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        ps - PrintStream to print stack trace into.
      • printStackTrace

        public void printStackTrace​(PrintWriter pw)
        Prints stack trace.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        pw - PrintWriter to print stack trace into.