Class ExternalExceptionJson
- java.lang.Object
-
- com.blackberry.workspaces.sdk.api.json.BaseJson
-
- com.blackberry.workspaces.sdk.api.json.ExternalExceptionJson
-
- All Implemented Interfaces:
Serializable
public class ExternalExceptionJson extends BaseJson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalExceptionJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCode()
CodeString
getMessage()
MessageString
getName()
Nameboolean
isShowToUser()
Show to uservoid
setCode(Integer code)
Codevoid
setMessage(String message)
Messagevoid
setName(String name)
Namevoid
setShowToUser(boolean showToUser)
Show to user-
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getName
public String getName()
Name- Returns:
- name - the name for the exception
-
setName
public void setName(String name)
Name- Parameters:
name
-
-
getMessage
public String getMessage()
Message- Returns:
- message
-
setMessage
public void setMessage(String message)
Message- Parameters:
message
- - the message for the exception
-
getCode
public Integer getCode()
Code- Returns:
- code
-
setCode
public void setCode(Integer code)
Code- Parameters:
code
- - the code corresponding to the exception
-
isShowToUser
public boolean isShowToUser()
Show to user- Returns:
- show to user
-
setShowToUser
public void setShowToUser(boolean showToUser)
Show to user- Parameters:
showToUser
- show to user
-
-