Class WebSiteException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WebSiteException
    extends java.lang.Exception
    Spezielle Fehlerklasse für Webseitenfehler
    Author:
    Frank Münster
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WebSiteException​(java.lang.String message, WebSiteExceptionTypes type)
      Konstruktor mit Informationstext und Fehlertyp.
      WebSiteException​(java.lang.String message, WebSiteExceptionTypes type, java.lang.Throwable cause)
      Konstruktor mit Informationstext und Fehlertyp.
      WebSiteException​(java.lang.String message, java.lang.Throwable cause)
      Konstruktor mit Informationstext und Fehlertyp.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      WebSiteExceptionTypes getType()
      Liefert den Fehlertyp der Exception
      • 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

      • WebSiteException

        public WebSiteException​(java.lang.String message,
                                java.lang.Throwable cause)
        Konstruktor mit Informationstext und Fehlertyp.
        Parameters:
        message - der Informationstext
        cause - der Grund
      • WebSiteException

        public WebSiteException​(java.lang.String message,
                                WebSiteExceptionTypes type)
        Konstruktor mit Informationstext und Fehlertyp.
        Parameters:
        message - der Informationstext
        type - der Fehlertyp
      • WebSiteException

        public WebSiteException​(java.lang.String message,
                                WebSiteExceptionTypes type,
                                java.lang.Throwable cause)
        Konstruktor mit Informationstext und Fehlertyp.
        Parameters:
        message - der Informationstext
        type - der Fehlertyp
        cause - der Grund
    • Method Detail

      • getType

        public WebSiteExceptionTypes getType()
        Liefert den Fehlertyp der Exception
        Returns:
        den Webseiten-Fehlertyp