Skip to content

Commit

Permalink
LPD-25246 Change constructors to private - redirect-api
Browse files Browse the repository at this point in the history
  • Loading branch information
ling-alan-huang authored and brianchandotcom committed May 22, 2024
1 parent 7368eb1 commit 6a9fffe
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,6 @@
*/
public class CircularRedirectEntryException extends PortalException {

public CircularRedirectEntryException() {
}

public CircularRedirectEntryException(String msg) {
super(msg);
}

public CircularRedirectEntryException(String msg, Throwable throwable) {
super(msg, throwable);
}

public CircularRedirectEntryException(Throwable throwable) {
super(throwable);
}

public static class DestinationURLMustNotBeEqualToSourceURL
extends CircularRedirectEntryException {

Expand All @@ -47,4 +32,19 @@ public static class MustNotFormALoopWithAnotherRedirectEntry
extends CircularRedirectEntryException {
}

private CircularRedirectEntryException() {
}

private CircularRedirectEntryException(String msg) {
super(msg);
}

private CircularRedirectEntryException(String msg, Throwable throwable) {
super(msg, throwable);
}

private CircularRedirectEntryException(Throwable throwable) {
super(throwable);
}

}

0 comments on commit 6a9fffe

Please sign in to comment.