0

I'm using saveInbackground() method with Parse passing a wrong class name (Xeveloper instead of Developer). Should'nt I have a ParseException of type INVALID_CLASS_NAME on the SaveCallback() instead of a NULL ?

ParseObject developer = new ParseObject("Xeveloper");
developer.put("developerName", "Walid MEDDEB");
developer.saveInBackground(new SaveCallback() {
   @Override
   public void done(ParseException e) {
    if ( e == null ) {
        Log.d("-->", "Success !!");
    } else {
        Log.d("-->", "Error !!");
    }
    }});

Thanks, Walid.

WaMe
  • 31
  • 2
  • 1
    Post your stacktrace that you see on `LogCat`. – Buhake Sindi Aug 28 '14 at 08:31
  • I set Parse.setLogLevel(Parse.LOG_LEVEL_DEBUG); but there is not stacktrace for Parse! – WaMe Aug 28 '14 at 08:46
  • Nevermind !!!, I just realized that parse created this class name (Xeveloper), instead of trying to use a table previously created @parse! so it has to be a normal behavior. – WaMe Aug 28 '14 at 08:56

0 Answers0