ch.elca.dependency.exception
Class BadLayerDefinitionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ch.elca.dependency.exception.BadLayerDefinitionException
All Implemented Interfaces:
java.io.Serializable

public class BadLayerDefinitionException
extends java.lang.Exception

Is thrown if the user defined layers are invalid.

Version:
1.0-beta
Author:
Pawel Kowalski
See Also:
Serialized Form

Constructor Summary
BadLayerDefinitionException()
          Constructor - Calls the constructor of the supperclass with no arguments.
BadLayerDefinitionException(java.lang.Exception e)
          Constructor with an other exception specified as an argument.
BadLayerDefinitionException(java.lang.String msg)
          Constructor with a specific message string.
 
Method Summary
 java.lang.String getMessage()
          Gets the message of the wrapped class and displays it with the standard message of this exception.
 
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
 

Constructor Detail

BadLayerDefinitionException

public BadLayerDefinitionException()
Constructor - Calls the constructor of the supperclass with no arguments.


BadLayerDefinitionException

public BadLayerDefinitionException(java.lang.String msg)
Constructor with a specific message string. Calls the corresponding constructor of the superclass.

Parameters:
msg - Message string specified by the user.

BadLayerDefinitionException

public BadLayerDefinitionException(java.lang.Exception e)
Constructor with an other exception specified as an argument. The message of the given exception is set to this exception class.

Parameters:
e - Original exception.
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message of the wrapped class and displays it with the standard message of this exception.

Overrides:
getMessage in class java.lang.Throwable
Returns:
A message string composed of the standard message of this class plus the message of the wrapped Exception.


Copyright © 2003 ELCA Informatique SA. All Rights Reserved.