Skip to content

Instantly share code, notes, and snippets.

@ShmuelMofrad
Created November 29, 2017 18:18
Show Gist options
  • Save ShmuelMofrad/6c0f009e91c4d5405caa0fd359c53a0b to your computer and use it in GitHub Desktop.
Save ShmuelMofrad/6c0f009e91c4d5405caa0fd359c53a0b to your computer and use it in GitHub Desktop.
Exception to throw in java for not supported or implemented method
public class NotImplementedException {
public static void main(String[] args) {
NewUseCase();
}
static void NewUseCase() {
//TODO Should be implemented.
throw new UnsupportedOperationException("not yet implemented and should be implemented!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment