Class SnpeError

Class Documentation

class SnpeError

SnpeError throws exceptions with code and message

Public Functions

inline NativeException getSnpeNativeError(String message)
inline InvalidInputException getInvalidInputError(Error error, String info)
inline InvalidInputException getInvalidInputError(Error error)
inline IllegalArgsOrStateException getIllegalError(Error error)
inline IllegalArgsOrStateException getIllegalError(Error error, String info)
inline SnpeIOException getIOError(Error error)
inline SnpeIOException getIOError(Error error, String info)

Public Static Functions

static inline SnpeError getInstance()
IllegalArgsOrStateException : public com.qualcomm.qti.snpe.SnpeError.SnpeException

Exception type for errors related to IllegalState or IllegalArgument.

throws runtime exception with code and message for errors related to illegal state or illegal arguments.

InvalidInputException : public com.qualcomm.qti.snpe.SnpeError.SnpeException

Exception type for errors related to invalid inputs.

throws exception for invalid inputs with code and message.

NativeException : public com.qualcomm.qti.snpe.SnpeError.SnpeException

Exception type for errors related to native network.

throws runtime exception with code and message for errors related to native network.

SnpeIOException : public com.qualcomm.qti.snpe.SnpeError.SnpeException

Exception type for errors related to IO Operations.

throws IO Exception with code and message