public class LensException extends Exception
| Constructor and Description |
|---|
LensException()
Constructs a new Lens Exception.
|
LensException(int errorCode)
Constructs a new Lens Exception with error code.
|
LensException(int errorCode,
Throwable cause,
Object... errorMsgFormattingArgs)
Constructs a new Lens Exception with error code, cause and error msg formatting arguments.
|
LensException(String errorMsg)
Constructs a new Lens Exception.
|
LensException(String errorMsg,
int errorCode)
Constructs a new Lens Exception with error msg and error code.
|
LensException(String errorMsg,
int errorcode,
Throwable cause,
Object... errorMsgFormattingArgs)
Constructs a new Lens Exception with exception error message, error code, cause and error msg formatting arguments.
|
LensException(String errorMsg,
Throwable cause)
Constructs a new Lens Exception.
|
LensException(Throwable cause)
Constructs a new Lens Exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildLensErrorResponse(ErrorCollection errorCollection,
String apiVersion,
String id) |
LensErrorTO |
buildLensErrorTO(ErrorCollection errorCollection) |
boolean |
equals(Object o) |
int |
getErrorCode() |
LensAPIResult |
getLensAPIResult()
The lensResponse prepared by
buildLensErrorResponse(ErrorCollection, String, String) |
int |
hashCode() |
static LensException |
wrap(Exception e) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LensException(String errorMsg)
Exception.Exception(String)public LensException(String errorMsg, Throwable cause)
public LensException()
Exception.Exception()public LensException(Throwable cause)
Exception.Exception(Throwable)public LensException(int errorCode)
Exception.Exception()public LensException(String errorMsg, int errorCode)
Exception.Exception()public LensException(int errorCode,
Throwable cause,
@NonNull
Object... errorMsgFormattingArgs)
Exception.Exception(Throwable)public LensException(String errorMsg, int errorcode, Throwable cause, @NonNull Object... errorMsgFormattingArgs)
Exception.Exception(Throwable)public final void buildLensErrorResponse(ErrorCollection errorCollection, String apiVersion, String id)
public final LensErrorTO buildLensErrorTO(ErrorCollection errorCollection)
public static LensException wrap(Exception e)
@Generated(value="lombok") public int getErrorCode()
@Generated(value="lombok") public LensAPIResult getLensAPIResult()
buildLensErrorResponse(ErrorCollection, String, String)Copyright © 2014–2015 Apache Software Foundation. All rights reserved.