Class LifecycleException

本文详细介绍了Apache Tomcat中的LifecycleException,这是一种通用异常,用于指示组件生命周期中出现的问题,通常被视为应用程序运行中的致命错误。
Overview
Package
Class
Tree
Deprecated
Index
Help

Apache Tomcat 8.5.54

Prev Class
Next Class

Frames
No Frames

Summary: 
Nested | 
Field | 
Constr | 
Method

Detail: 
Field | 
Constr | 
Method

org.apache.catalina
Class LifecycleException

java.lang.Object
    java.lang.Throwable
        java.lang.Exception
            org.apache.catalina.LifecycleException 

All Implemented Interfaces:
    Serializable


public final class LifecycleException
extends Exception

General purpose exception that is thrown to indicate a lifecycle related problem. Such exceptions should generally be considered fatal to the operation of the application containing this component.

Author:
    Craig R. McClanahan
See Also:
    Serialized Form

    Constructor Summary
    Constructors  Constructor and Description
    LifecycleException()
    Construct a new LifecycleException with no other information.
    LifecycleException(String message)
    Construct a new LifecycleException for the specified message.
    LifecycleException(String message, Throwable throwable)
    Construct a new LifecycleException for the specified message and throwable.
    LifecycleException(Throwable throwable)
    Construct a new LifecycleException for the specified throwable.
    Method Summary
        Methods inherited from class java.lang.Throwable
        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
        Methods inherited from class java.lang.Object
        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Constructor Detail
        LifecycleException

        public LifecycleException()

        Construct a new LifecycleException with no other information.
        LifecycleException

        public LifecycleException(String message)

        Construct a new LifecycleException for the specified message.

        Parameters:
            message - Message describing this exception

        LifecycleException

        public LifecycleException(Throwable throwable)

        Construct a new LifecycleException for the specified throwable.

        Parameters:
            throwable - Throwable that caused this exception

        LifecycleException

        public LifecycleException(String message,
                          Throwable throwable)

        Construct a new LifecycleException for the specified message and throwable.

        Parameters:
            message - Message describing this exception
            throwable - Throwable that caused this exception

Overview
Package
Class
Tree
Deprecated
Index
Help

Apache Tomcat 8.5.54

Prev Class
Next Class

Frames
No Frames

Summary: 
Nested | 
Field | 
Constr | 
Method

Detail: 
Field | 
Constr | 
Method

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值