I am writing a new servlet, which gets the app as input parameter if it null then throw a exception with custom message. I am trying to do but not successful.
Here is the my code snippet.
On the web page it display: You have the access...
but I want to display PARAMETER NULL EXCEPTION. if app is null
but it's not happening.
Could anybody help me.
Thanks.
Here is the my code snippet.
On the web page it display: You have the access...
but I want to display PARAMETER NULL EXCEPTION. if app is null
but it's not happening.
Could anybody help me.
Thanks.