com.craftar
Class CraftARError
- java.lang.Object
-
- com.craftar.CraftARError
-
- Direct Known Subclasses:
- CraftARNetworkError
public class CraftARError extends java.lang.Object
TheCraftARError
class encapsulates all kinds of errors that can be produced by the SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
CraftARError.ERROR_CODES
Error describing the problem
-
Constructor Summary
Constructors Constructor and Description CraftARError(CraftARError.ERROR_CODES errorCode, java.lang.String message)
Creates a newCraftARError
with the givenerrorCode
andmessage
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CraftARError.ERROR_CODES
getErrorCode()
java.lang.String
getErrorMessage()
-
-
-
Constructor Detail
-
CraftARError
public CraftARError(CraftARError.ERROR_CODES errorCode, java.lang.String message)
Creates a newCraftARError
with the givenerrorCode
andmessage
- Parameters:
errorCode
- The error codemessage
- The message
-
-
Method Detail
-
getErrorCode
public CraftARError.ERROR_CODES getErrorCode()
- Returns:
- The error code associated to this
CraftARError
-
getErrorMessage
public java.lang.String getErrorMessage()
- Returns:
- The error message associated to this
CraftARError
-
-