Class WException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.webtoolkit.jwt.WException
All Implemented Interfaces:
java.io.Serializable

public class WException
extends java.lang.RuntimeException
Base class for exceptions thrown by JWt.
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    WException​(java.lang.String what)
    Creates an exception.
    WException​(java.lang.String what, java.lang.RuntimeException wrapped)
    Creates an exception.
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String backtrace()  
    void setMessage​(java.lang.String message)
    Sets the message.
    java.lang.String toString()
    Returns the message.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

    Methods inherited from class java.lang.Object

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

    • WException

      public WException​(java.lang.String what)
      Creates an exception.
    • WException

      public WException​(java.lang.String what, java.lang.RuntimeException wrapped)
      Creates an exception.
  • Method Details

    • toString

      public java.lang.String toString()
      Returns the message.
      Overrides:
      toString in class java.lang.Throwable
    • setMessage

      public void setMessage​(java.lang.String message)
      Sets the message.
    • backtrace

      public static java.lang.String backtrace()