Class MoodleErrorValues
java.lang.Object
org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
- Direct Known Subclasses:
MoodleParticipantInfo
,MoodleTokens
,MoodleUser
,MoodleUserByName.ResultWrapper
A base class that can hold values returned in case of errors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
void
void
setErrorcode
(String errorcode) void
setException
(String exception) void
setMessage
(String message)
-
Constructor Details
-
MoodleErrorValues
public MoodleErrorValues()
-
-
Method Details
-
getError
- Returns:
- the error
-
setError
- Parameters:
error
- the error to set
-
getErrorcode
- Returns:
- the errorcode
-
setErrorcode
- Parameters:
errorcode
- the errorcode to set
-
getException
- Returns:
- the exception
-
setException
- Parameters:
exception
- the exception to set
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
message
- the message to set
-