Class GameServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.xxdc.oss.example.GameServiceException
- All Implemented Interfaces:
Serializable
Represents an exception that can occur when using the game service.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGameServiceException(String message) Constructs a newGameServiceExceptionwith the specified error message.GameServiceException(String message, Throwable cause) Constructs a newGameServiceExceptionwith the specified error message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GameServiceException
Constructs a newGameServiceExceptionwith the specified error message.- Parameters:
message- the error message describing the exception
-
GameServiceException
Constructs a newGameServiceExceptionwith the specified error message and cause.- Parameters:
message- the error message describing the exceptioncause- the underlying cause of the exception
-