/FileExtraction/Java_unseen/ClimbAssist_ClimbAssistService/src/main/java/com/climbassist/api/resource/pitch/PitchNotFoundExceptionFactory.java
package com.climbassist.api.resource.pitch;

import com.climbassist.api.resource.common.ResourceNotFoundException;
import com.climbassist.api.resource.common.ResourceNotFoundExceptionFactory;
import lombok.NonNull;

public class PitchNotFoundExceptionFactory implements ResourceNotFoundExceptionFactory<Pitch> {

    @Override
    public ResourceNotFoundException create(@NonNull String pitchId) {
        return new PitchNotFoundException(pitchId);
    }
}