java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.paris.lutece.plugins.appointment.modules.virtualmeeting.exception.VirtualMeetingException
All Implemented Interfaces:
Serializable

public class VirtualMeetingException extends Exception
Checked exception thrown when a virtual meeting provider operation fails. Carries the provider name so that callers can include it in logs and error messages.
See Also:
  • Constructor Details

    • VirtualMeetingException

      public VirtualMeetingException(String strMessage)
      Creates a new instance with a message only (no provider context).
      Parameters:
      strMessage - the error message
    • VirtualMeetingException

      public VirtualMeetingException(String strMessage, Exception cause)
      Creates a new instance with a message and a cause (no provider context).
      Parameters:
      strMessage - the error message
      cause - the underlying cause
    • VirtualMeetingException

      public VirtualMeetingException(String strMessage, String strProviderName)
      Creates a new instance with a message and the name of the provider that raised the error.
      Parameters:
      strMessage - the error message
      strProviderName - the name of the provider (e.g. "livekit", "jitsi")
    • VirtualMeetingException

      public VirtualMeetingException(String strMessage, String strProviderName, Exception cause)
      Creates a new instance with a message, provider name, and underlying cause.
      Parameters:
      strMessage - the error message
      strProviderName - the name of the provider (e.g. "livekit", "jitsi")
      cause - the underlying cause
  • Method Details

    • getProviderName

      public String getProviderName()
      Get the name of the provider that raised the error.
      Returns:
      the provider name, or null if the error is not tied to a specific provider (e.g. "no provider found")