From 2b225a7b8dbe31029df1b488e1f7fa42a789f0bf Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Wed, 25 Jan 2017 15:57:03 -0500 Subject: [PATCH] Adding missing error class --- .../de/bitsharesmunich/graphenej/AssetAmount.java | 1 + .../graphenej/api/GetAllAssetHolders.java | 7 +++++++ .../graphenej/errors/IncompatibleOperation.java | 11 +++++++++++ .../graphenej/models/HoldersCount.java | 7 +++++++ 4 files changed, 26 insertions(+) create mode 100644 src/main/java/de/bitsharesmunich/graphenej/api/GetAllAssetHolders.java create mode 100644 src/main/java/de/bitsharesmunich/graphenej/errors/IncompatibleOperation.java create mode 100644 src/main/java/de/bitsharesmunich/graphenej/models/HoldersCount.java diff --git a/src/main/java/de/bitsharesmunich/graphenej/AssetAmount.java b/src/main/java/de/bitsharesmunich/graphenej/AssetAmount.java index b2bd06d..b1f1991 100644 --- a/src/main/java/de/bitsharesmunich/graphenej/AssetAmount.java +++ b/src/main/java/de/bitsharesmunich/graphenej/AssetAmount.java @@ -3,6 +3,7 @@ package de.bitsharesmunich.graphenej; import com.google.common.primitives.Bytes; import com.google.common.primitives.UnsignedLong; import com.google.gson.*; +import de.bitsharesmunich.graphenej.errors.IncompatibleOperation; import de.bitsharesmunich.graphenej.interfaces.ByteSerializable; import de.bitsharesmunich.graphenej.interfaces.JsonSerializable; diff --git a/src/main/java/de/bitsharesmunich/graphenej/api/GetAllAssetHolders.java b/src/main/java/de/bitsharesmunich/graphenej/api/GetAllAssetHolders.java new file mode 100644 index 0000000..07d11db --- /dev/null +++ b/src/main/java/de/bitsharesmunich/graphenej/api/GetAllAssetHolders.java @@ -0,0 +1,7 @@ +package de.bitsharesmunich.graphenej.api; + +/** + * Created by nelson on 1/25/17. + */ +public class GetAllAssetHolders { +} diff --git a/src/main/java/de/bitsharesmunich/graphenej/errors/IncompatibleOperation.java b/src/main/java/de/bitsharesmunich/graphenej/errors/IncompatibleOperation.java new file mode 100644 index 0000000..5f80ece --- /dev/null +++ b/src/main/java/de/bitsharesmunich/graphenej/errors/IncompatibleOperation.java @@ -0,0 +1,11 @@ +package de.bitsharesmunich.graphenej.errors; + +/** + * Created by nelson on 1/18/17. + */ +public class IncompatibleOperation extends RuntimeException { + + public IncompatibleOperation(String message){ + super(message); + } +} diff --git a/src/main/java/de/bitsharesmunich/graphenej/models/HoldersCount.java b/src/main/java/de/bitsharesmunich/graphenej/models/HoldersCount.java new file mode 100644 index 0000000..762a5a4 --- /dev/null +++ b/src/main/java/de/bitsharesmunich/graphenej/models/HoldersCount.java @@ -0,0 +1,7 @@ +package de.bitsharesmunich.graphenej.models; + +/** + * Created by nelson on 1/25/17. + */ +public class HoldersCount { +}