de.cau.cs.kieler.sim.kiem.config.exception
Class KiemParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.cau.cs.kieler.sim.kiem.config.exception.AbstractKiemException
              extended by de.cau.cs.kieler.sim.kiem.config.exception.KiemParserException

public class KiemParserException
extends AbstractKiemException

This Exception is thrown when a problem occurred while parsing from the Eclipse Preference Store.

Rating proposed yellow
(2010-01-27)

Constructor Summary
KiemParserException(String message, Object infoParam)
          Creates a new KiemParserException.
KiemParserException(String message, Throwable cause, Object infoParam)
          Creates a new KiemParserException.
KiemParserException(Throwable cause, Object infoParam)
          Creates a new KiemParserException.
 
Method Summary
 String getErrorMessage()
          Displays an error message based on the information.
 
Methods inherited from class de.cau.cs.kieler.sim.kiem.config.exception.AbstractKiemException
getInfo
 
Methods inherited from class java.lang.Throwable
getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KiemParserException

public KiemParserException(String message,
                           Object infoParam)
Creates a new KiemParserException.

Parameters:
message - some message.
infoParam - the faulty object.

KiemParserException

public KiemParserException(Throwable cause,
                           Object infoParam)
Creates a new KiemParserException.

Parameters:
cause - the cause for this exception.
infoParam - the faulty object.

KiemParserException

public KiemParserException(String message,
                           Throwable cause,
                           Object infoParam)
Creates a new KiemParserException.

Parameters:
message - some message.
cause - the cause for this exception.
infoParam - the faulty object.
Method Detail

getErrorMessage

public String getErrorMessage()
Displays an error message based on the information.

Specified by:
getErrorMessage in class AbstractKiemException
Returns:
the error message.