diff --git a/modules/apps/redirect/redirect-api/src/main/java/com/liferay/redirect/exception/CircularRedirectEntryException.java b/modules/apps/redirect/redirect-api/src/main/java/com/liferay/redirect/exception/CircularRedirectEntryException.java index 543e3542c5b482..cac4838d678f7d 100644 --- a/modules/apps/redirect/redirect-api/src/main/java/com/liferay/redirect/exception/CircularRedirectEntryException.java +++ b/modules/apps/redirect/redirect-api/src/main/java/com/liferay/redirect/exception/CircularRedirectEntryException.java @@ -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 { @@ -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); + } + } \ No newline at end of file