Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Code challenge step 3
I'm getting an error on my Log.e() statement: ./SignUpActivity.java:15: cannot find symbol symbol : method e(java.lang.String,java.lang.String,com.parse.ParseException) location: class android.util.Log Log.e(TAG,"ERROR",e); ^ 1 error
Am I missing something? I'm coding... Log.e(TAG,"ERROR",e);
For some reason the method signature Log.e(String,String,Throwable) is not available. Simply omit the last parameter to proceed.
Steve Wamsley7,977 Points
That got me past the code challenge, but I think the real problem is that ParseException is not extending Exception. I tried the following:
Log.e(TAG, "ERROR", (Exception) e);
That created a type cast error.
Log.e(TAG, "ERROR", new Exception(e.getMessage()));
That caused an error saying ParseException does not have a getMessage() method.