OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:JSONException
(Results
1 - 25
of
305
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/json/src/main/java/org/json/
JSONException.java
39
* } catch (
JSONException
e) {
44
public class
JSONException
extends Exception {
46
public
JSONException
(String s) {
50
public
JSONException
(String message, Throwable cause) {
54
public
JSONException
(Throwable cause) {
JSON.java
23
static double checkDouble(double d) throws
JSONException
{
25
throw new
JSONException
("Forbidden numeric value: " + d);
95
public static
JSONException
typeMismatch(Object indexOrName, Object actual,
96
String requiredType) throws
JSONException
{
98
throw new
JSONException
("Value at " + indexOrName + " is null.");
100
throw new
JSONException
("Value " + actual + " at " + indexOrName
106
public static
JSONException
typeMismatch(Object actual, String requiredType)
107
throws
JSONException
{
109
throw new
JSONException
("Value is null.");
111
throw new
JSONException
("Value " + actua
[
all
...]
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
JsonDeserializable.java
19
import org.json.
JSONException
;
23
public JSONObject fromJSON() throws
JSONException
;
JsonSerializable.java
19
import org.json.
JSONException
;
23
public JSONObject toJSON() throws
JSONException
;
JsonRpcResult.java
19
import org.json.
JSONException
;
34
public static JSONObject empty(int id) throws
JSONException
{
42
public static JSONObject result(int id, Object data) throws
JSONException
{
50
public static JSONObject error(int id, Throwable t) throws
JSONException
{
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONWriter.java
108
* @throws
JSONException
If the value is out of sequence.
110
private JSONWriter append(String s) throws
JSONException
{
112
throw new
JSONException
("Null pointer");
121
throw new
JSONException
(e);
129
throw new
JSONException
("Value out of sequence.");
137
* @throws
JSONException
If the nesting is too deep, or if the object is
141
public JSONWriter array() throws
JSONException
{
148
throw new
JSONException
("Misplaced array.");
156
* @throws
JSONException
If unbalanced.
158
private JSONWriter end(char m, char c) throws
JSONException
{
[
all
...]
JSONException.java
4
* The
JSONException
is thrown by the JSON.org classes then things are amiss.
8
public class
JSONException
extends Exception {
12
* Constructs a
JSONException
with an explanatory message.
15
public
JSONException
(String message) {
19
public
JSONException
(Throwable t) {
CDL.java
53
* @throws
JSONException
if the quoted string is badly formed.
55
private static String getValue(JSONTokener x) throws
JSONException
{
79
* @throws
JSONException
81
public static JSONArray rowToJSONArray(JSONTokener x) throws
JSONException
{
113
* @throws
JSONException
116
throws
JSONException
{
126
* @throws
JSONException
128
public static JSONArray toJSONArray(String string) throws
JSONException
{
137
* @throws
JSONException
139
public static JSONArray toJSONArray(JSONTokener x) throws
JSONException
{
[
all
...]
/prebuilts/misc/common/json/
json-prebuilt.jar
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionExtras.java
18
import org.json.
JSONException
;
40
String toJsonString() throws
JSONException
;
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
BackupSharedPreference.java
19
import org.json.
JSONException
;
30
JSONObject toJson() throws
JSONException
;
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
CloseOp.java
18
import org.json.
JSONException
;
35
* @throws
JSONException
if failed to extract out data
37
static CloseOp createFromJson(JSONObject json) throws
JSONException
{
47
protected void packIntoJson(JSONObject j) throws
JSONException
{
HandoverCompleteOp.java
18
import org.json.
JSONException
;
33
* @throws
JSONException
if failed to extract out data
35
static HandoverCompleteOp createFromJson(JSONObject json) throws
JSONException
{
45
protected void packIntoJson(JSONObject j) throws
JSONException
{
HandoverInitCompleteOp.java
18
import org.json.
JSONException
;
33
* @throws
JSONException
if failed to extract out data
35
static HandoverInitCompleteOp createFromJson(JSONObject json) throws
JSONException
{
45
protected void packIntoJson(JSONObject j) throws
JSONException
{
AllocateDeviceOp.java
18
import org.json.
JSONException
;
40
* @throws
JSONException
if failed to extract out data
42
static AllocateDeviceOp createFromJson(JSONObject json) throws
JSONException
{
52
protected void packIntoJson(JSONObject j) throws
JSONException
{
FreeDeviceOp.java
18
import org.json.
JSONException
;
41
* @throws
JSONException
if failed to extract out data
43
static FreeDeviceOp createFromJson(JSONObject json) throws
JSONException
{
53
protected void packIntoJson(JSONObject j) throws
JSONException
{
StartHandoverOp.java
18
import org.json.
JSONException
;
38
* @throws
JSONException
if failed to extract out data
40
static StartHandoverOp createFromJson(JSONObject json) throws
JSONException
{
50
protected void packIntoJson(JSONObject j) throws
JSONException
{
/external/robolectric/v1/lib/main/
json-20080701.jar
/external/robolectric/v3/runtime/
json-20080701.jar
/prebuilts/tools/common/m2/repository/org/json/json/20080701/
json-20080701.jar
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
AbstractAssetMatcher.java
19
import org.json.
JSONException
;
47
throws AssociationServiceException,
JSONException
{
/prebuilts/tools/common/m2/repository/org/json/json/20141113/
json-20141113.jar
/libcore/json/src/test/java/org/json/
JSONObjectTest.java
40
public void testEmptyObject() throws
JSONException
{
54
} catch (
JSONException
e) {
59
} catch (
JSONException
e) {
64
} catch (
JSONException
e) {
69
} catch (
JSONException
e) {
74
} catch (
JSONException
e) {
79
} catch (
JSONException
e) {
84
} catch (
JSONException
e) {
89
} catch (
JSONException
e) {
109
public void testEqualsAndHashCode() throws
JSONException
{
[
all
...]
JSONStringerTest.java
31
public void testValueJSONNull() throws
JSONException
{
39
public void testEmptyObject() throws
JSONException
{
46
public void testEmptyArray() throws
JSONException
{
53
public void testArray() throws
JSONException
{
65
public void testValueObjectMethods() throws
JSONException
{
75
public void testKeyValue() throws
JSONException
{
95
public void testNumericRepresentations() throws
JSONException
{
104
public void testWeirdNumbers() throws
JSONException
{
108
} catch (
JSONException
e) {
113
} catch (
JSONException
e)
[
all
...]
/tools/loganalysis/tests/src/com/android/loganalysis/item/
TopItemTest.java
20
import org.json.
JSONException
;
31
public void testToJson() throws
JSONException
{
Completed in 1260 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>