Package de.hirola.sportslibrary
Class SportsLibraryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.hirola.sportslibrary.SportsLibraryException
-
- All Implemented Interfaces:
Serializable
public class SportsLibraryException extends Exception
Copyright 2021 by Michael Schmidt, Hirola Consulting This software us licensed under the AGPL-3.0 or later. Bundling of all exceptions included libraries.- Since:
- 1.1.1
- Author:
- Michael Schmidt (Hirola)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SportsLibraryException()Creates an empty exception object.SportsLibraryException(Exception exception)Creates an exception object with a given exception .SportsLibraryException(String message)Creates an exception object with a given error message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SportsLibraryException
public SportsLibraryException()
Creates an empty exception object.
-
SportsLibraryException
public SportsLibraryException(Exception exception)
Creates an exception object with a given exception .- Parameters:
exception- for the new object
-
SportsLibraryException
public SportsLibraryException(String message)
Creates an exception object with a given error message.- Parameters:
message- of the exception
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-