[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eServiceUnavailableException\u003c/code\u003e is a class that extends \u003ccode\u003eServiceException\u003c/code\u003e and is used to represent a service unavailable error in the API, which corresponds to an HTTP 503 response.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers multiple constructors to create an instance of \u003ccode\u003eServiceUnavailableException\u003c/code\u003e, allowing for flexibility in providing error details such as a custom message, a cause, a status message, a reason, and even a domain.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits several methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, including \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003efinalize\u003c/code\u003e, \u003ccode\u003egetClass\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, \u003ccode\u003enotify\u003c/code\u003e, \u003ccode\u003enotifyAll\u003c/code\u003e, \u003ccode\u003etoString\u003c/code\u003e, and \u003ccode\u003ewait\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating exceptions with just a message, just a cause, both message and cause, or including statusMessage, reason, and domain, allowing for a variety of specificity.\u003c/p\u003e\n"]]],[],null,["# ServiceUnavailableException\n\ncom.google.api.server.spi.response\n\nClass ServiceUnavailableException\n---------------------------------\n\n- java.lang.Object\n-\n - ServiceException\n -\n - com.google.api.server.spi.response.ServiceUnavailableException\n\n-\n\n *** ** * ** ***\n\n \u003cbr /\u003e\n\n ```\n public class ServiceUnavailableException\n extends ServiceException\n ``` \nService Unavailable response for the API, mapped to a HTTP 503 response. \n-\n -\n\n ### Constructor Summary\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Summary\n\n -\n\n ### Methods inherited from class java.lang.Object\n\n`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait` \n-\n -\n\n ### Constructor Detail\n\n\n -\n\n #### ServiceUnavailableException\n\n ```\n public ServiceUnavailableException(java.lang.String message)\n ```\n\n\n -\n\n #### ServiceUnavailableException\n\n ```\n public ServiceUnavailableException(java.lang.Throwable cause)\n ```\n\n\n -\n\n #### ServiceUnavailableException\n\n ```\n public ServiceUnavailableException(java.lang.String message,\n java.lang.Throwable cause)\n ```\n\n\n -\n\n #### ServiceUnavailableException\n\n ```\n public ServiceUnavailableException(java.lang.String statusMessage,\n java.lang.String reason)\n ```\n\n\n -\n\n #### ServiceUnavailableException\n\n ```\n public ServiceUnavailableException(java.lang.String statusMessage,\n java.lang.String reason,\n java.lang.Throwable cause)\n ```\n\n\n -\n\n #### ServiceUnavailableException\n\n ```\n public ServiceUnavailableException(java.lang.String statusMessage,\n java.lang.String reason,\n java.lang.String domain)\n ```\n\n\n -\n\n #### ServiceUnavailableException\n\n ```\n public ServiceUnavailableException(java.lang.String statusMessage,\n java.lang.String reason,\n java.lang.String domain,\n java.lang.Throwable cause)\n ```"]]