File SnpeError.java

Definition (SnpeError.java)

Full File Listing

namespace snpe
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()

Private Functions

inline SnpeError()
inline String getErrorMessage(int code, String message, String info)

Private Static Attributes

static SnpeError mInstance = null
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.

Private Functions

inline IllegalArgsOrStateException(int code, String detailMessage)
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.

Private Functions

inline InvalidInputException(int code, String detailMessage)
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.

Private Functions

inline NativeException(int code, String detailMessage)
class SnpeException : public RuntimeException

Subclassed by com.qualcomm.qti.snpe.SnpeError.IllegalArgsOrStateException, com.qualcomm.qti.snpe.SnpeError.InvalidInputException, com.qualcomm.qti.snpe.SnpeError.NativeException, com.qualcomm.qti.snpe.SnpeError.SnpeIOException

Public Functions

inline int getErrorCode()

Private Functions

inline SnpeException(int code, String detailMessage)

Private Members

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

Exception type for errors related to IO Operations.

throws IO Exception with code and message

Private Functions

inline SnpeIOException(int code, String detailMessage)