|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.objectweb.fractal.api.control.IllegalContentException org.objectweb.fractal.julia.control.content.ChainedIllegalContentException
public class ChainedIllegalContentException
A sub class of the IllegalContentException
class.
Constructor Summary | |
---|---|
ChainedIllegalContentException(Throwable exception,
Component component,
Component content,
String message)
Constructs a new ChainedIllegalContentException exception. |
Method Summary | |
---|---|
Component |
getComponent()
Returns the component whose content is or would become illegal. |
Component |
getContent()
Returns the component that makes the content of getComponent illegal. |
Throwable |
getException()
Returns the exception that caused in this exception. |
void |
printStackTrace()
Prints the stack backtrace. |
void |
printStackTrace(PrintStream s)
Prints this exception and its backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints this exception and its backtrace to the specified print writer. |
String |
toString()
Returns a String representation of this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChainedIllegalContentException(Throwable exception, Component component, Component content, String message)
ChainedIllegalContentException
exception.
exception
- the cause of this exception. May be null.component
- the component whose content is or would become illegal.content
- the component that makes the content of component
illegal. May be null.message
- a detailed error message.Method Detail |
---|
public Throwable getException()
public Component getComponent()
public Component getContent()
getComponent
illegal. More precisely, this method returns the component
that would make the content of getComponent
illegal
if it were added or removed from it.
getComponent
illegal. May be null.public String toString()
toString
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
s
- PrintStream to use for output.public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
s
- PrintWriter to use for output.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |