ilog.webui.dhtml

Class IlxWRuntimeException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • ilog.webui.dhtml.IlxWRuntimeException
  • All Implemented Interfaces:
    java.io.Serializable


    public class IlxWRuntimeException
    extends java.lang.RuntimeException
    The base class for web components exceptions.
    Those exceptions may be thrown by the web components methods when the user uses the component inappropriately.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlxWRuntimeException(java.lang.String message)
      Constructs a new IlxWRuntimeException with the specified message.
      IlxWRuntimeException(java.lang.String message, java.lang.Throwable rootCause)
      Constructs a new IlxWRuntimeException when the framework needs to throw an exception and includes a message about the "root cause" exception that interfered with its normal operation, including a description message.
      IlxWRuntimeException(java.lang.Throwable rootCause)
      Constructs a new IlxWRuntimeException when the source needs to throw an exception and includes a message about the "root cause" exception that interfered with its normal operation.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Throwable getRootCause()
      Returns the exception that caused this servlet exception.
      • 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

      • IlxWRuntimeException

        public IlxWRuntimeException(java.lang.String message)
        Constructs a new IlxWRuntimeException with the specified message.
        Parameters:
        message - A String containing the text of the exception message
      • IlxWRuntimeException

        public IlxWRuntimeException(java.lang.String message,
                            java.lang.Throwable rootCause)
        Constructs a new IlxWRuntimeException when the framework needs to throw an exception and includes a message about the "root cause" exception that interfered with its normal operation, including a description message.
        Parameters:
        message - a String containing the text of the exception message
        rootCause - the Throwable exception that interfered with the normal operation of the framework, making the IlxWRuntimeException necessary.
      • IlxWRuntimeException

        public IlxWRuntimeException(java.lang.Throwable rootCause)
        Constructs a new IlxWRuntimeException when the source needs to throw an exception and includes a message about the "root cause" exception that interfered with its normal operation. The exception message is based on the localized message of the underlying exception.

        This constructor calls the getLocalizedMessage method on the Throwable exception to get a localized exception message. When you subclass IlxWRuntimeException, you may override this method to create an exception message designed for a specific locale.

        Parameters:
        rootCause - The Throwable exception that interfered with the normal operation of the framework, making the IlxWRuntimeException necessary.
    • Method Detail

      • getRootCause

        public java.lang.Throwable getRootCause()
        Returns the exception that caused this servlet exception.
        Returns:
        the Throwable that caused this IlxWRuntimeException. May be null if no root cause was specified in the exception constructor.

© Copyright IBM Corp. 1987, 2017