Exemple

public static void main( String[] args ) {
int value = 0;
try {
value = Integer.parseInt( args[ 0 ] );
} catch ( NumberFormatException e0 ) {
try {
value = Integer.parseInt( args[ 1 ] );
} catch ( NumberFormatException e1 ) {
try {
value = Integer.parseInt( args[ 2 ] );
} catch ( NumberFormatException e2 ) {

}
}
}
}

Solution
Utilisez le modèle Strategy Design Pattern.
  1. Créez une interface pour effectuer la tâche.
  2. Faites en sorte que la méthode qui effectue la tâche génère une exception.
  3. Créez vers un conteneur de stratégie la classe comportant le bloc try/catch imbriqué.
  4. Transformez en boucle for le bloc try/catch imbriqué.
  5. Tant que la boucle contient une exception, appliquez les stratégies.

public static void main( String[] args ) {
int value = 0;
for ( int i = 0; i < args.length; i++ ) {
try {
value = Integer.parseInt( args[ i ] );
break ;
} catch ( NumberFormatException e ) {
// Ignore exception
}
}

}