ErrorInfo Stay organized with collections Save and categorize content based on your preferences.
public final classErrorInfo extends Object
Represents an error encountered while importing anImportUserRecord.
Public Method Summary
| int | getIndex() The index of the failed user in the list passed to the importUsersAsync(List, UserImportOptions) method. |
| String | getReason() A string describing the error. |
Inherited Method Summary
From class java.lang.Object
| Object | clone() |
| boolean | equals(Object arg0) |
| void | finalize() |
| 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 intgetIndex()
The index of the failed user in the list passed to theimportUsersAsync(List, UserImportOptions) method.
Returns
- an integer index.
public StringgetReason()
A string describing the error.
Returns
- A string error message.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-28 UTC.