Corrected placement of exception throw.

This commit is contained in:
Klaus Reimer 2011-02-05 15:17:21 +01:00 committed by k
parent a4ec2a9d68
commit 7b4194c285
1 changed files with 6 additions and 4 deletions

View File

@ -161,9 +161,11 @@ final class PipeQueueProcessor extends Thread
break; break;
} }
break; break;
default:
throw new UsbException("Unsupported endpoint type: " + type);
} }
throw new UsbException("Unsupported endpoint type: " + type);
} }
catch (final UsbException e) catch (final UsbException e)
{ {