|
||||||||||
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.api.exception.MultipleException
public class MultipleException
Exception that represents the occurrence of multiple exceptions.
Constructor Summary | |
---|---|
MultipleException()
Construct a default instance of this class. |
|
MultipleException(java.util.Collection throwables)
Construct an instance with the set of exceptions specified. |
|
MultipleException(java.util.Collection throwables,
java.lang.String message)
Construct an instance with the set of exceptions and error message specified. |
|
MultipleException(java.util.Collection throwables,
java.lang.String code,
java.lang.String message)
Construct an instance with the set of exceptions, and an error code and message specified. |
|
MultipleException(java.lang.String message)
Construct an instance with the error message specified. |
|
MultipleException(java.lang.String code,
java.lang.String message)
Construct an instance with an error code and message specified. |
Method Summary | |
---|---|
java.lang.String |
getCode()
Get the code for this exception. |
java.util.List |
getExceptions()
Obtain the set of exceptions that comprise this exception. |
void |
setCode(java.lang.String code)
Set the code for this exception. |
void |
setExceptions(java.util.Collection throwables)
Set the exceptions that comprise this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultipleException()
public MultipleException(java.lang.String message)
message
- The error messagepublic MultipleException(java.lang.String code, java.lang.String message)
message
- The error messagecode
- The error codepublic MultipleException(java.util.Collection throwables)
throwables
- the set of exceptions that is to comprise
this exceptionpublic MultipleException(java.util.Collection throwables, java.lang.String message)
throwables
- the set of exceptions that is to comprise
this exceptionmessage
- The error messagepublic MultipleException(java.util.Collection throwables, java.lang.String code, java.lang.String message)
throwables
- the set of exceptions that is to comprise
this exceptionmessage
- The error messagecode
- The error codeMethod Detail |
---|
public java.lang.String getCode()
public void setCode(java.lang.String code)
code
- the new code valuepublic java.util.List getExceptions()
public void setExceptions(java.util.Collection throwables)
throwables
- the set of exceptions that is to comprise
this exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |