Class ThrowableWrapper

java.lang.Object
de.qytera.qtaf.core.log.model.error.ThrowableWrapper

public class ThrowableWrapper extends Object
This class is a wrapper class for java.lang.Throwable, because GSON is not able to serialize this class.
  • Constructor Details

    • ThrowableWrapper

      public ThrowableWrapper(Throwable t)
      Constructor.
      Parameters:
      t - Throwable instance
  • Method Details

    • getMessage

      public String getMessage()
      Get message of throwable.
      Returns:
      message
    • getClassName

      public String getClassName()
      Get classname of throwable.
      Returns:
      classname
    • getStackTrace

      public StackTraceElement[] getStackTrace()
      Get stack trace.
      Returns:
      stack trace