com.alee.managers.style
Class StyleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.alee.managers.style.StyleException
All Implemented Interfaces:
java.io.Serializable

public class StyleException
extends java.lang.RuntimeException

Special exception class used to display various style problems. It extends RuntimeException to allow throwing this exception while normal runtime.

Author:
Mikle Garin
See Also:
How to use StyleManager, StyleManager, Serialized Form

Constructor Summary
StyleException()
          Constructs a new StyleException with null as its detail message.
StyleException(java.lang.String message)
          Constructs a new StyleException with the specified detail message.
StyleException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new StyleException with the specified detail message and cause.
StyleException(java.lang.Throwable cause)
          Constructs a new StyleException with the specified cause.
 
Method Summary
 
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

StyleException

public StyleException()
Constructs a new StyleException with null as its detail message.


StyleException

public StyleException(java.lang.String message)
Constructs a new StyleException with the specified detail message.

Parameters:
message - exception message

StyleException

public StyleException(java.lang.String message,
                      java.lang.Throwable cause)
Constructs a new StyleException with the specified detail message and cause.

Parameters:
message - exception message
cause - exception cause

StyleException

public StyleException(java.lang.Throwable cause)
Constructs a new StyleException with the specified cause.

Parameters:
cause - exception cause