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 |
hashCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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)
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.