|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.openwings.connector.ConnectorCompilerExceptions
This class is used to collect various exceptions raised
by a ConnectorGenerator.
This is done so that multiple exceptions can be
reported without the system halting on the first exception. This allows
unlimited exceptions to be raised as a single exception.
| Constructor Summary | |
ConnectorCompilerExceptions()
This default constructor creates an empty collection of exceptions raised. |
|
| Method Summary | |
void |
addException(java.lang.Exception exception)
This method adds an exception to the collection of raised exceptions. |
int |
getExceptionCount()
This method returns the number of exceptions in this collection |
java.lang.String |
getMessage()
This method creates and returns a single string representation of how the messages of all of the exceptions within the collection would have looked if they had been allowed to be thrown up the stack. |
void |
printStackTrace()
This method creates a single string representation of how the stackTraces of all of the exceptions within the collection would have looked if they had been allowed to be thrown up the stack. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConnectorCompilerExceptions()
| Method Detail |
public void addException(java.lang.Exception exception)
exception - the exception to be addedpublic int getExceptionCount()
public java.lang.String getMessage()
public void printStackTrace()
System.err.
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||