Class ContextException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    NotDefinedException

    @Deprecated
    public abstract class ContextException
    extends Exception
    Deprecated.
    Please use the "org.eclipse.core.commands" plug-in instead.
    Signals that an exception occurred within the context architecture.

    This class is not intended to be extended by clients.

    Since:
    3.0
    See Also:
    CommandException, Serialized Form
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • ContextException

        public ContextException​(String message)
        Deprecated.
        Creates a new instance of this class with the specified detail message.
        Parameters:
        message - the detail message.
      • ContextException

        public ContextException​(String message,
                                Throwable cause)
        Deprecated.
        Creates a new instance of this class with the specified detail message and cause.
        Parameters:
        message - the detail message.
        cause - the cause.
    • Method Detail

      • getCause

        public Throwable getCause()
        Deprecated.
        Returns the cause of this throwable or null if the cause is nonexistent or unknown.
        Overrides:
        getCause in class Throwable
        Returns:
        the cause or null
        Since:
        3.1