You can always just extend LinkMovementMethod and catch the error there.
Something like:
private class MovementCheck extends LinkMovementMethod {
@Override
public boolean onTouchEvent( TextView widget, Spannable buffer, MotionEvent event ) {
try {
return super.onTouchEvent( widget, buffer, event ) ;
} catch( Exception ex ) {
Toast.makeText( MainActivity.this, "Could not load link", Toast.LENGTH_LONG ).show();
return true;
}
}
}
Will display an error message in the case that there is no application setup to handle the intent.
Another option is to use the method in this question to determine ahead of time if anything is prepared to handle your links.