Class MoodleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jdrupes.keycloak.moodleauth.moodle.MoodleException
All Implemented Interfaces:
Serializable

public class MoodleException extends IOException
Represents a moodle exception
See Also:
  • Constructor Details

  • Method Details

    • error

      public String error()
      Returns the error reported by moodle.
      Returns:
      the string
    • errorCode

      public String errorCode()
      Returns the error code reported by moodle.
      Returns:
      the string
    • message

      public String message()
      Returns the message provided by moodle.
      Returns:
      the string
    • exception

      public String exception()
      Return the exception provided by moodle.
      Returns:
      the string
    • toString

      public String toString()
      Overrides:
      toString in class Throwable