RepositoryException
Stay organized with collections
Save and categorize content based on your preferences.
An exception that is thrown specifically for fatal repository access errors.
Inherited Method Summary
From class
java.lang.Throwable
synchronized
final
void
|
addSuppressed(Throwable arg0)
|
synchronized
Throwable
|
fillInStackTrace()
|
synchronized
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
synchronized
final
Throwable[]
|
getSuppressed()
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace()
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
String
|
toString()
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Methods
public
RepositoryError
getRepositoryError
()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-18 UTC.
[null,null,["Last updated 2025-03-18 UTC."],[],[],null,["# RepositoryException\n\npublic class **RepositoryException** extends IOException \nAn exception that is thrown specifically for fatal repository access errors. \n\n### Nested Class Summary\n\n|-------|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| class | [RepositoryException.Builder](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/RepositoryException.Builder) || Builder for creating [RepositoryException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/RepositoryException) |\n| enum | [RepositoryException.ErrorType](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/RepositoryException.ErrorType) || Repository error types as defined by Cloud Search API. |\n\n### Public Method Summary\n\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| RepositoryError | [getRepositoryError](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/RepositoryException#getRepositoryError())() Returns [RepositoryError](https://developers.google.com/resources/api-libraries/documentation/cloudsearch/v1/java/latest/com/google/api/services/cloudsearch/v1/model/RepositoryError.html) based on [RepositoryException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/RepositoryException) |\n\n### Inherited Method Summary\n\nFrom class java.lang.Throwable \n\n|----------------------------------|-------------------------------------------|\n| synchronized final void | addSuppressed(Throwable arg0) |\n| synchronized Throwable | fillInStackTrace() |\n| synchronized Throwable | getCause() |\n| String | getLocalizedMessage() |\n| String | getMessage() |\n| StackTraceElement\\[\\] | getStackTrace() |\n| synchronized final Throwable\\[\\] | getSuppressed() |\n| synchronized Throwable | initCause(Throwable arg0) |\n| void | printStackTrace() |\n| void | printStackTrace(PrintWriter arg0) |\n| void | printStackTrace(PrintStream arg0) |\n| void | setStackTrace(StackTraceElement\\[\\] arg0) |\n| String | toString() |\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public RepositoryError\n**getRepositoryError**\n()\n\nReturns [RepositoryError](https://developers.google.com/resources/api-libraries/documentation/cloudsearch/v1/java/latest/com/google/api/services/cloudsearch/v1/model/RepositoryError.html) based on [RepositoryException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/RepositoryException)"]]