|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.cau.cs.kieler.sim.kiem.config.exception.AbstractKiemException
public abstract class AbstractKiemException
Super class for all Exceptions in the configuration part of KIEM.
Enables subclasses to supply an Object as information.
Constructor Summary | |
---|---|
AbstractKiemException(String message,
Object infoParam)
Creates a new AbstractKiemException. |
|
AbstractKiemException(String message,
Throwable cause,
Object infoParam)
Creates a new AbstractKiemException. |
|
AbstractKiemException(Throwable cause,
Object infoParam)
Creates a new AbstractKiemException. |
Method Summary | |
---|---|
abstract String |
getErrorMessage()
Displays an error message based on the information. |
Object |
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 |
---|
public AbstractKiemException(String message, Object infoParam)
message
- some message.infoParam
- the faulty object.public AbstractKiemException(Throwable cause, Object infoParam)
cause
- the cause for this exception.infoParam
- the faulty object.public AbstractKiemException(String message, Throwable cause, Object infoParam)
message
- some message.cause
- the cause for this exception.infoParam
- the faulty object.Method Detail |
---|
public Object getInfo()
public abstract String getErrorMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |