code: private StructrPath checkPath(final Path obj) {
  
  		if (obj == null) {
  			throw new NullPointerException();
  		}
  
  		if (!(obj instanceof StructrPath)) {
  			throw new ProviderMismatchException();
  		}
  
  		return (StructrPath)obj;
  	}
docs: ----- protected methods -----