Class PartialListInstancesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.cloud.bigtable.admin.v2.models.PartialListInstancesException
-
- All Implemented Interfaces:
Serializable
public class PartialListInstancesException extends RuntimeException
Exception thrown when some zones are unavailable and listInstances is unable to return a full instance list. This exception can be inspected to get a partial list.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartialListInstancesException(List<String> unavailableZones, List<Instance> instances)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Instance>
getInstances()
A partial list of instances that were found in the available zones.List<String>
getUnavailableZones()
A list of zones, whose unavailability caused this error.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-