com.ibm.ws.exception

Class RuntimeError

  • All Implemented Interfaces:
    com.ibm.ws.exception.WsNestedException, java.io.Serializable


    public class RuntimeError
    extends WsRuntimeFwException
    A RuntimeError is used to signal to the runtime framework that a critical error has been encountered. The server will shut down immediately.
    See Also:
    com.ibm.wsspi.runtime.component.WsComponent#start(), Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      RuntimeError(java.lang.String msg)
      Constructs a new RuntimeError with the specified detail message.
      RuntimeError(java.lang.String msg, java.lang.Throwable t)
      Constructs a new RuntimeError with the specified detail message and cause.
      RuntimeError(java.lang.Throwable t)
      Constructs a new RuntimeError with the specified cause and a message which typically contains the class and detail message of cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RuntimeError

        public RuntimeError(java.lang.String msg)
        Constructs a new RuntimeError with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to WsException.initCause(java.lang.Throwable)
        Parameters:
        msg - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      • RuntimeError

        public RuntimeError(java.lang.Throwable t)
        Constructs a new RuntimeError with the specified cause and a message which typically contains the class and detail message of cause. This constructor is useful for exceptions that are little more than wrappers for other throwables.
        Parameters:
        t - the cause (which is saved for later retrieval by the WsException.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • RuntimeError

        public RuntimeError(java.lang.String msg,
                    java.lang.Throwable t)
        Constructs a new RuntimeError with the specified detail message and cause.

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        msg - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        t - the cause (which is saved for later retrieval by the WsException.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
IBM WebSphere Application ServerTM
Release 8.5