Class MoodleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jdrupes.keycloak.moodleauth.moodle.MoodleException
- All Implemented Interfaces:
- Serializable
Represents a moodle exception
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionMoodleException(MoodleErrorValues error) Instantiates a new moodle exception.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
- 
Constructor Details- 
MoodleExceptionInstantiates a new moodle exception.- Parameters:
- error- the error
 
 
- 
- 
Method Details- 
errorReturns the error reported by moodle.- Returns:
- the string
 
- 
errorCodeReturns the error code reported by moodle.- Returns:
- the string
 
- 
messageReturns the message provided by moodle.- Returns:
- the string
 
- 
exceptionReturn the exception provided by moodle.- Returns:
- the string
 
- 
toString
 
-