Class ExceptionWrapper


  • public class ExceptionWrapper
    extends Object
    This wrapper is used to store the information from an exception like AbortExecutionException. The exception cannot be transmitted over the remoting, since it cannot be guaranteed to match between versions for serialization purposes. Instead, the important information is extracted out of it and wrapped inside this object.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • ExceptionWrapper

        public ExceptionWrapper​(String aMessage,
                                String aStackTrace)
        Creates an instance from the raw data.
        Parameters:
        aMessage - the message
        aStackTrace - the stack trace string
      • ExceptionWrapper

        public ExceptionWrapper​(Throwable anException)
        Creates an instance from the exception itself.
        Parameters:
        anException - the exception to use as a base
    • Method Detail

      • getMessage

        public String getMessage()
      • getStackTrace

        public String getStackTrace()