public static void main(String args[]){
    try{ 
        throw new ExceptionNew();
    }
    catch(ExceptionNew e){
        System.out.println("system out primt");
        System.err.println(e);
        System.out.println("stackTrace");
        e.printStackTrace();            
    }

    }