Class ProducerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.amazonaws.kinesisvideo.common.exception.KinesisVideoException
-
- com.amazonaws.kinesisvideo.producer.ProducerException
-
- All Implemented Interfaces:
Serializable
public class ProducerException extends KinesisVideoException
Producer exception class extending basicException.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATUS_BASEstatic intSTATUS_BUFFER_TOO_SMALLstatic intSTATUS_FORMAT_ERRORstatic intSTATUS_INTERNAL_ERRORstatic intSTATUS_INVALID_ARGstatic intSTATUS_INVALID_ARG_LENstatic intSTATUS_INVALID_HANDLE_ERRORstatic intSTATUS_INVALID_OPERATIONstatic intSTATUS_NOT_IMPLEMENTEDstatic intSTATUS_NULL_ARGstatic intSTATUS_OPEN_FILE_FAILEDstatic intSTATUS_OPERATION_TIMED_OUTstatic intSTATUS_OUT_OF_MEMORYstatic intSTATUS_READ_FILE_FAILEDstatic intSTATUS_SUCCESSVarious common status code.static intSTATUS_UNEXPECTED_EOFstatic intSTATUS_WRITE_TO_FILE_FAILED
-
Constructor Summary
Constructors Constructor Description ProducerException(Exception exception)ProducerException(String message, int statusCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatusCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
STATUS_SUCCESS
public static final int STATUS_SUCCESS
Various common status code. For the complete list of errors please refer to the errors section in the public Include.h files in the native codebase.- See Also:
- Constant Field Values
-
STATUS_BASE
public static final int STATUS_BASE
- See Also:
- Constant Field Values
-
STATUS_NULL_ARG
public static final int STATUS_NULL_ARG
- See Also:
- Constant Field Values
-
STATUS_INVALID_ARG
public static final int STATUS_INVALID_ARG
- See Also:
- Constant Field Values
-
STATUS_INVALID_ARG_LEN
public static final int STATUS_INVALID_ARG_LEN
- See Also:
- Constant Field Values
-
STATUS_OUT_OF_MEMORY
public static final int STATUS_OUT_OF_MEMORY
- See Also:
- Constant Field Values
-
STATUS_BUFFER_TOO_SMALL
public static final int STATUS_BUFFER_TOO_SMALL
- See Also:
- Constant Field Values
-
STATUS_UNEXPECTED_EOF
public static final int STATUS_UNEXPECTED_EOF
- See Also:
- Constant Field Values
-
STATUS_FORMAT_ERROR
public static final int STATUS_FORMAT_ERROR
- See Also:
- Constant Field Values
-
STATUS_INVALID_HANDLE_ERROR
public static final int STATUS_INVALID_HANDLE_ERROR
- See Also:
- Constant Field Values
-
STATUS_OPEN_FILE_FAILED
public static final int STATUS_OPEN_FILE_FAILED
- See Also:
- Constant Field Values
-
STATUS_READ_FILE_FAILED
public static final int STATUS_READ_FILE_FAILED
- See Also:
- Constant Field Values
-
STATUS_WRITE_TO_FILE_FAILED
public static final int STATUS_WRITE_TO_FILE_FAILED
- See Also:
- Constant Field Values
-
STATUS_INTERNAL_ERROR
public static final int STATUS_INTERNAL_ERROR
- See Also:
- Constant Field Values
-
STATUS_INVALID_OPERATION
public static final int STATUS_INVALID_OPERATION
- See Also:
- Constant Field Values
-
STATUS_NOT_IMPLEMENTED
public static final int STATUS_NOT_IMPLEMENTED
- See Also:
- Constant Field Values
-
STATUS_OPERATION_TIMED_OUT
public static final int STATUS_OPERATION_TIMED_OUT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProducerException
@CalledByNativeCode public ProducerException(@Nonnull String message, int statusCode)
-
-