ilog.views.util.styling
Class IlvStylingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ilog.views.util.styling.IlvStylingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IlvCSSIOException, IlvCSSparseException

public class IlvStylingException
extends Exception

Exceptions of the class IlvStylingException are thrown by various classes of the ilog.views.util.css package.

This general class is mainly used to encapsulate low-level exceptions such as IOException and parsing exceptions, without polluting the API with too many exception types. See the subclasses for more.

Since:
JViews 5.5
See Also:
Serialized Form

Constructor Summary
IlvStylingException()
          Creates a new styling exception with no error message.
IlvStylingException(Exception exception)
          Creates a new styling exception that encapsulates another low-level exception.
IlvStylingException(String message)
          Creates a new styling exception with a specified error message.
IlvStylingException(String message, Exception exception)
          Creates a new styling exception that encapsulates another low-level exception.
 
Method Summary
 Exception getException()
          Returns the low-level exception that caused this styling exception to be thrown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

IlvStylingException

public IlvStylingException()
Creates a new styling exception with no error message.


IlvStylingException

public IlvStylingException(String message)
Creates a new styling exception with a specified error message.

Parameters:
message - The error message.

IlvStylingException

public IlvStylingException(Exception exception)
Creates a new styling exception that encapsulates another low-level exception.

Parameters:
exception - The low-level exception that causes this styling exception to be thrown.

IlvStylingException

public IlvStylingException(String message,
                           Exception exception)
Creates a new styling exception that encapsulates another low-level exception.

Parameters:
message - The error message.
exception - The low-level exception that causes this styling exception to be thrown.
Method Detail

getException

public Exception getException()
Returns the low-level exception that caused this styling exception to be thrown.

Returns:
The low-level exception, or null if this styling exception was not thrown due to a lower-level exception


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.