ariba.util.core
Class LobException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ariba.util.core.LobException
All Implemented Interfaces:
java.io.Serializable

public class LobException
extends java.lang.RuntimeException

Represents an exception that has occurred during an interaction with a large-object (lob.)

This class contains the ability to nest (or chain) exceptions, a feature which has been added to JDK 1.4. At the time that we upgrade to that platform we should remove this functionality from this class.

See Also:
Serialized Form

Constructor Summary
LobException(java.lang.Exception exception)
          Constructs a new instance with the specified nested exception.
LobException(java.lang.String message)
          Constructs a new instance with the specified message.
LobException(java.lang.String message, java.lang.Exception exception)
          Constructs a new instance with the specified nested exception and detail message.
 
Method Summary
 java.lang.Exception getException()
          Returns the nested Exception of this, if any or null if none.
 void printStackTrace()
          Prints the stack trace of this followed by the stack trace of the nested exception, if any to System.err.
 void printStackTrace(java.io.PrintStream ps)
          Prints the stack trace of this followed by the stack trace of the nested exception, if any to the specified PrintStream.
 void printStackTrace(java.io.PrintWriter pw)
          Prints the stack trace of this followed by the stack trace of the nested exception, if any to the specified PrintWriter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LobException

public LobException(java.lang.String message)
Constructs a new instance with the specified message.


LobException

public LobException(java.lang.Exception exception)
Constructs a new instance with the specified nested exception.


LobException

public LobException(java.lang.String message,
                    java.lang.Exception exception)
Constructs a new instance with the specified nested exception and detail message.

Method Detail

getException

public java.lang.Exception getException()
Returns the nested Exception of this, if any or null if none.


printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Prints the stack trace of this followed by the stack trace of the nested exception, if any to the specified PrintWriter.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Prints the stack trace of this followed by the stack trace of the nested exception, if any to the specified PrintStream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Prints the stack trace of this followed by the stack trace of the nested exception, if any to System.err.

Overrides:
printStackTrace in class java.lang.Throwable


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.