File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
java/org/apache/catalina/startup Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ public static void main(String[] args) {
540540
541541 public static boolean isStartupAbort (Throwable t ) {
542542 while (t != null ) {
543- if ("org.apache.catalina.startup.validator. StartupAbortException" .equals (t .getClass ().getName ())) {
543+ if ("org.apache.catalina.startup.StartupAbortException" .equals (t .getClass ().getName ())) {
544544 return true ;
545545 }
546546 t = t .getCause ();
Original file line number Diff line number Diff line change 3838import org .apache .catalina .Server ;
3939import org .apache .catalina .connector .Connector ;
4040import org .apache .catalina .core .StandardContext ;
41- import org .apache .catalina .startup .validator .StartupAbortException ;
4241import org .apache .juli .ClassLoaderLogManager ;
4342import org .apache .juli .logging .Log ;
4443import org .apache .juli .logging .LogFactory ;
Original file line number Diff line number Diff line change 1515 * limitations under the License.
1616 */
1717
18- package org .apache .catalina .startup .validator ;
18+ package org .apache .catalina .startup ;
19+
20+ import java .io .Serial ;
1921
2022/**
2123 * Exception used to abort startup due to validation failures without producing a noisy stack trace.
2224 */
2325public class StartupAbortException extends RuntimeException {
26+ @ Serial
2427 private static final long serialVersionUID = 1L ;
2528
2629 public StartupAbortException (String message ) {
Original file line number Diff line number Diff line change 2020import org .apache .catalina .LifecycleEvent ;
2121import org .apache .catalina .LifecycleListener ;
2222import org .apache .catalina .Server ;
23+ import org .apache .catalina .startup .StartupAbortException ;
2324import org .apache .juli .logging .Log ;
2425import org .apache .juli .logging .LogFactory ;
2526import org .apache .tomcat .util .res .StringManager ;
You can’t perform that action at this time.
0 commit comments