Einzelnen Beitrag anzeigen
Alt 11.01.2004, 14:08   #3
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

Aufgerufen wird das ganze dann so:
public static void main(String[] args){
int x=1,y=1;
try{Color c=getPixColor(x,y);/*irgendetwas mit c machen*/}
catch (IllegalArgumentException e){/*Ein Fehler ist aufgetreten*/}
}

Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten