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)
|