Class LambdaFunctionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.services.lambda.invoke.LambdaFunctionException
-
- All Implemented Interfaces:
Serializable
public class LambdaFunctionException extends RuntimeException
An exception representing the failed execution of a remote Lambda function.- See Also:
InvokeResult.getFunctionError()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LambdaFunctionException(String message, boolean handled, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getType()
boolean
isHandled()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
isHandled
public boolean isHandled()
- Returns:
- true if this was a Handled error
- See Also:
InvokeResult.getFunctionError()
-
getType
public String getType()
- Returns:
- the type of this exception, if known; null if unknown
-
-