views:

937

answers:

3

Is there anything like .net's NotImplementedException in java?

+10  A: 

I think the UnsupportedOperationException is what you are looking for.

http://java.sun.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html

Chris Dail
I say it is something quite different. The NIE also tells it may not implemented yet, where the UOE says me it never will...
Dykam
@Dykam, then wouldn't it be a NotImplementedYetException?
Yishai
@Dykam: `new UnsupportedOperationException("Not implemented yet")` - happy?
Michael Borgwardt
I didn't mean it was worse, just had a different use case.
Dykam
A: 

No, unlike .NET Java is fully implemented.

Jakub Šturc
+1 I lulzed....
herzmeister der welten