|
||||||||||
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 com.metamatrix.api.exception.MultipleException
public class MultipleException
Exception that represents the occurrence of multiple exceptions.
Constructor Summary | |
---|---|
MultipleException()
No-arg Constructor |
|
MultipleException(java.util.Collection<java.lang.Throwable> 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.util.Collection throwables,
java.lang.String message)
Construct an instance with the set of exceptions and error 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 |
readExternal(java.io.ObjectInput in)
|
void |
setCode(java.lang.String code)
Set the code for this exception. |
void |
writeExternal(java.io.ObjectOutput out)
|
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.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<java.lang.Throwable> 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 readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |