Skip navigation links

Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference
11g Release 1 (11.1)

E17350-01


com.stellent.cis.common.exception
Class BaseRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.stellent.cis.common.exception.BaseRuntimeException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommandConfigurationException, CommandRuntimeException, CommonSearchParseException, CreateAPIObjectException, EJBConnectionException, PropertyRetrievalException, PropertySetException

public class BaseRuntimeException
extends java.lang.RuntimeException

Base class for runtime exceptions in the system.

See Also:
Serialized Form

Field Summary
protected  boolean m_hasMessage
           
protected  boolean m_isWrapper
           

 

Constructor Summary
BaseRuntimeException()
           
BaseRuntimeException(java.lang.String message)
           
BaseRuntimeException(java.lang.String message, java.lang.Throwable cause)
           
BaseRuntimeException(java.lang.Throwable cause)
           

 

Method Summary
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 java.lang.Throwable getRootCause()
          Unrolls the exception stack and returns the last error in the stack
 boolean isWrapper()
          Determines if this exception just holds another exception and provides no more contextual information.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

m_isWrapper

protected boolean m_isWrapper

m_hasMessage

protected boolean m_hasMessage

Constructor Detail

BaseRuntimeException

public BaseRuntimeException()

BaseRuntimeException

public BaseRuntimeException(java.lang.String message)

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            java.lang.Throwable cause)

BaseRuntimeException

public BaseRuntimeException(java.lang.Throwable cause)

Method Detail

isWrapper

public boolean isWrapper()
Determines if this exception just holds another exception and provides no more contextual information. Useful for displaying error messages without the command stack trace; i.e.
Returns:

getRootCause

public java.lang.Throwable getRootCause()
Unrolls the exception stack and returns the last error in the stack
Returns:
the root exception class

getMessage

public java.lang.String getMessage()
Returns the detail message string of this throwable. If this throwable was constructed without a message, then return the rootCause() message. (Effectively removing the classname from the message)
Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string of this Throwable instance (which may be null).

Skip navigation links

Oracle® Fusion Middleware Content Integration Suite (CIS) Java API Reference
11g Release 1 (11.1)

E17350-01


Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.