Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

exception class implementation in java

public class JavaExceptionExample extends Exception{  
  public JavaExceptionExample(){
  }
   public JavaExceptionExample(String s){
     //String parameter which is the detail message of the exception.
  }
}  
 
PREVIOUS NEXT
Tagged: #exception #class #implementation #java
ADD COMMENT
Topic
Name
9+7 =