Added new constructor

This commit is contained in:
Nelson R. Perez 2017-01-10 14:23:44 -05:00
parent bd9cbc6880
commit e4768c700c

View file

@ -4,6 +4,11 @@ package de.bitsharesmunich.graphenej.errors;
* Created by nelson on 12/25/16. * Created by nelson on 12/25/16.
*/ */
public class IncompleteAssetError extends RuntimeException{ public class IncompleteAssetError extends RuntimeException{
public IncompleteAssetError(String message){
super(message);
}
public IncompleteAssetError(){ public IncompleteAssetError(){
super("The asset used in this method is probably incomplete, Assets instances can be created with just its id information but this context requires more information"); super("The asset used in this method is probably incomplete, Assets instances can be created with just its id information but this context requires more information");
} }