Class VirtualMeetingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.paris.lutece.plugins.appointment.modules.virtualmeeting.exception.VirtualMeetingException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionVirtualMeetingException(String strMessage) Creates a new instance with a message only (no provider context).VirtualMeetingException(String strMessage, Exception cause) Creates a new instance with a message and a cause (no provider context).VirtualMeetingException(String strMessage, String strProviderName) Creates a new instance with a message and the name of the provider that raised the error.VirtualMeetingException(String strMessage, String strProviderName, Exception cause) Creates a new instance with a message, provider name, and underlying cause. -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the provider that raised the error.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VirtualMeetingException
Creates a new instance with a message only (no provider context).- Parameters:
strMessage- the error message
-
VirtualMeetingException
Creates a new instance with a message and a cause (no provider context).- Parameters:
strMessage- the error messagecause- the underlying cause
-
VirtualMeetingException
Creates a new instance with a message and the name of the provider that raised the error.- Parameters:
strMessage- the error messagestrProviderName- the name of the provider (e.g. "livekit", "jitsi")
-
VirtualMeetingException
Creates a new instance with a message, provider name, and underlying cause.- Parameters:
strMessage- the error messagestrProviderName- the name of the provider (e.g. "livekit", "jitsi")cause- the underlying cause
-
-
Method Details
-
getProviderName
Get the name of the provider that raised the error.- Returns:
- the provider name, or
nullif the error is not tied to a specific provider (e.g. "no provider found")
-