if (buffer.length() == 0) {
buffer.append("Exception List").append('\n');
}
if (ex instanceof ReverseGeocodeException) {
final ReverseGeocodeException rgex =
(ReverseGeocodeException) ex;
buffer.append(
" ReverseGeocode Exception code: "
+ rgex.getErrorCode()).append('\n');
} else {
buffer.append(" Exception: " + ex).append('\n');
}
}