|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.metamatrix.core.MetaMatrixCoreException
com.metamatrix.api.exception.MetaMatrixException
com.metamatrix.common.config.StartupStateException
public final class StartupStateException
This exception is thrown by StartupStateController, to
indicate to a calling MetaMatrixController that the system is
not in a state in which initialization can proceed.
| Constructor Summary | |
|---|---|
StartupStateException()
No-arg costructor required by Externalizable semantics |
|
StartupStateException(int desiredStartupState,
int startupState)
Construct this exception with a default message, which will include the current startup state and the desired startup state parameters, explaining that the desired state cannot be reached. |
|
StartupStateException(java.lang.String message,
int startupState)
Construct this exception with a message, and the system state. |
|
| Method Summary | |
|---|---|
int |
getStartupState()
Use the constants in StartupStateController to interpret the
system state from the returned int. |
void |
readExternal(java.io.ObjectInput in)
|
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class com.metamatrix.api.exception.MetaMatrixException |
|---|
getChild, getCode, getFullMessage, getMessage, setCode, toString |
| Methods inherited from class com.metamatrix.core.MetaMatrixCoreException |
|---|
getCause, initCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StartupStateException()
public StartupStateException(java.lang.String message,
int startupState)
public StartupStateException(int desiredStartupState,
int startupState)
| Method Detail |
|---|
public int getStartupState()
StartupStateController to interpret the
system state from the returned int.
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in class MetaMatrixExceptionjava.io.IOException
java.lang.ClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class MetaMatrixExceptionjava.io.IOExceptionExternalizable.writeExternal(java.io.ObjectOutput)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||