public DirectoryOrFileNotFoundException(String entity,String name){
  super(String.format(_errorMessage,entity,name));
}

public DirectoryOrFileNotFoundException ( String entity , String name ) { super ( String . format ( _errorMessage , entity , name ) ) ; }
constructs a new exception with detailed error message .
