Class RoomsErrorResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.core.exception.HttpResponseException
com.azure.communication.rooms.models.RoomsErrorResponseException
- All Implemented Interfaces:
Serializable
public class RoomsErrorResponseException
extends com.azure.core.exception.HttpResponseException
Exception thrown on rooms specific errors
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRoomsErrorResponseException
(String message, com.azure.core.http.HttpResponse response) Initializes a new instance of the RoomsErrorResponseException class.RoomsErrorResponseException
(String message, com.azure.core.http.HttpResponse response, RoomsError value) Initializes a new instance of the RoomsErrorResponseException class. -
Method Summary
Methods inherited from class com.azure.core.exception.HttpResponseException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RoomsErrorResponseException
Initializes a new instance of the RoomsErrorResponseException class.- Parameters:
message
- the exception message or the response content if a message is not available.response
- the HTTP response.
-
RoomsErrorResponseException
public RoomsErrorResponseException(String message, com.azure.core.http.HttpResponse response, RoomsError value) Initializes a new instance of the RoomsErrorResponseException class.- Parameters:
message
- the exception message or the response content if a message is not available.response
- the HTTP response.value
- the deserialized response value.
-
-
Method Details
-
getValue
- Overrides:
getValue
in classcom.azure.core.exception.HttpResponseException
-