Package jadex.commons

Class ErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ErrorException
    extends java.lang.Exception
    Wrapper to set errors (e.g. ThreadDeath) as future exceptions. Will be thrown as errors on get(), but passed as wrapped exception in exceptionOccurred().
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorException​(java.lang.Error error)
      Create an error exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Error getError()
      Get the error.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ErrorException

        public ErrorException​(java.lang.Error error)
        Create an error exception.
    • Method Detail

      • getError

        public java.lang.Error getError()
        Get the error.