I have following exception
public class MyException extends SecurityException{
public MyException( String s ) { super( s ) ; }
}
where SecurityException is java.lang.SecurityException.
whenever I throw MyException("Message");, I can get the message.
Now, in MyException I want to pass an integer value with MyException and access that integer where I am catching this MyException.
How do I do that ?