refactored preview not found exception