Skip to content

Commit

Permalink
500 error when accessing non-existent repository #9432 (#10832)
Browse files Browse the repository at this point in the history
(cherry picked from commit dcb979d)
  • Loading branch information
rymsha committed Dec 27, 2024
1 parent bb854e1 commit 266fc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.enonic.xp.repository;

import com.enonic.xp.branch.Branch;
import com.enonic.xp.exception.BaseException;
import com.enonic.xp.exception.NotFoundException;

public class BranchNotFoundException
extends BaseException
extends NotFoundException
{
public BranchNotFoundException( final Branch branch )
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.enonic.xp.repository;

import com.enonic.xp.exception.BaseException;
import com.enonic.xp.exception.NotFoundException;

public class RepositoryNotFoundException
extends BaseException
extends NotFoundException
{
public RepositoryNotFoundException( final RepositoryId repositoryId )
{
Expand Down

0 comments on commit 266fc4c

Please sign in to comment.