public class ErrorMap extends Object implements ErrorCollection
| Constructor and Description |
|---|
ErrorMap(com.google.common.collect.ImmutableMap<Integer,LensError> errors) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<Class> |
getErrorPayloadClasses() |
LensError |
getLensError(int errorCode) |
public LensError getLensError(int errorCode)
getLensError in interface ErrorCollectionerrorCode - the errorCode for which LensError instance has to be retrieved.public com.google.common.collect.ImmutableSet<Class> getErrorPayloadClasses()
getErrorPayloadClasses in interface ErrorCollectionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.