public void FunctionName() throws Exception{ throw new Exception(); }
throws gibt exception an die aufrufende funktion weiter
UnexpectedException = unerwartete Exception
Abfangen auch innerhalb der verarbeitung moeglich:
try{ throw new UnexpectedException(); }catch(UnexpectedException ex){ ex.PrintStackTrace(); }
Unexpected nur mit Try-Catch möglich!