Ok. I am confused. I catch an exception and I am trying to log it. So
here is some code
try
{
elevation = myElevation.toString();
}
catch (Exception ex)
{
recordError(ex.GetMessage());
}
The ex.GetMessage has a null value, should it? recordError is
expecting a string. ex.GetMessage returns a String, but since there is
no value it is null. I don't think there is a valueOf -> string to
string?
Any help would be great, i am just trying to pass 'null' or the value
of the message.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---