Skip to content

Instantly share code, notes, and snippets.

ishan ishanbakshi

Block or report user

Report or block ishanbakshi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ishanbakshi
ishanbakshi / SampleExceptionCatching.java
Last active Jul 13, 2016
Sample code to test exception catching in JAVA. This code demonstrates how to build a mapper function to find which user defined exception was thrown.
View SampleExceptionCatching.java
// this code was tested using java ide from tutorials point
// see the running code on http://goo.gl/1pPhqd
import java.lang.*;
public class SampleExceptionCatching{
public static void main(String []args){
try{
System.out.println("Hello World");
You can’t perform that action at this time.