ilog.views.util
Class IlvRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ilog.views.util.IlvRuntimeException
- All Implemented Interfaces:
- Serializable
public class IlvRuntimeException
- extends RuntimeException
IlvRuntimeException is a simple RuntimeException extension
that allows a checked exception to be wrapped and rethrown as an unchecked exception.
IlvRuntimeException does not use the "cause" chaining mechanism built
into Throwable. Instead, the text description, the detail message, and
the stack frames of this exception are replaced by those of the exception that is being
wrapped. If the wrapped exception is an InvocationTargetException
that was thrown by SwingUtilities.invokeAndWait(), the stack frames
related to posting the runnable onto the AWT event queue and waiting for its execution
to complete are removed for additional clarity.
- Since:
- JViews 8.1
- See Also:
- Serialized Form
IlvRuntimeException
public IlvRuntimeException(Throwable exception)
- Creates a new
IlvRuntimeException that wraps the specified
Exception.
- Parameters:
exception - The exception to be wrapped.
toString
public String toString()
- Returns a short description of this throwable.
- Overrides:
toString in class Throwable
- Returns:
- A string representation of this throwable.
getMessage
public String getMessage()
-
- Overrides:
getMessage in class Throwable
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.