|
|||||||||||
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.taursys.util.ChainedException com.taursys.model.ModelException com.taursys.model.ModelParseException com.taursys.model.MultiModelParseException
List of multiple ModelParseExceptions.
Field Summary |
Fields inherited from class com.taursys.model.ModelParseException |
messages, REASON_OFFSET, REASON_PARSE_ERROR |
Fields inherited from class com.taursys.model.ModelException |
REASON_INTERNAL_ERROR, REASON_MODEL_IS_WRONG_CLASS, REASON_MULTI_PROPERTY_MISMATCH, REASON_OBJECTS_ARE_IMMUTABLE, REASON_PARSE_CONVERSION_ERROR |
Fields inherited from class com.taursys.util.ChainedException |
cause, diagnosticInfo, reason, REASON_INVALID_REASON_CODE, REASON_UNSPECIFIED, userFriendlyMessage |
Constructor Summary | |
MultiModelParseException(java.util.List exceptionList)
Constructs MultiModelParseException with given list of ModelParseExceptions |
|
MultiModelParseException(ModelParseException ex)
Constructs MultiModelParseException with given ModelParseExceptions |
Method Summary | |
void |
add(ModelParseException ex)
Adds a ModelParseException to the list |
void |
add(MultiModelParseException ex)
Adds all the ModelParseExceptions from the given MultiModelParseException |
java.lang.Throwable |
getCause()
Get the cause of the first ModelParseException |
java.lang.String |
getDiagnosticInfo()
Get the diagnosticInfo from all the ModelParseExceptions |
java.util.List |
getExceptionList()
Gets the list of all the ModelParseExceptions |
java.lang.String |
getFormatClass()
Get the formatClass of the first ModelParseException |
java.lang.String |
getFormatPattern()
Get the formatPattern of the first ModelParseException |
java.lang.String |
getGivenValue()
Get the givenValue of the first ModelParseException |
java.lang.String |
getLocalizedMessage()
Get the localizedMessage from all the ModelParseExceptions |
java.lang.String |
getMessage()
Get the message from all the ModelParseExceptions |
java.lang.String |
getPropertyDataType()
Get the propertyDataType of the first ModelParseException |
java.lang.String |
getPropertyName()
Get the propertyName of the first ModelParseException |
int |
getReason()
Get the reason of the first ModelParseException |
java.lang.String |
getUserFriendlyMessage()
Get the userFriendlyMessage from all the ModelParseExceptions |
void |
printStackTrace()
Print the stack trace from all the ModelParseExceptions |
void |
printStackTrace(java.io.PrintStream printStream)
Print the stack trace from all the ModelParseExceptions |
void |
printStackTrace(java.io.PrintWriter printWriter)
Print the stack trace from all the ModelParseExceptions |
Methods inherited from class com.taursys.model.ModelParseException |
getReasonMessage, setDiagnosticsInfo |
Methods inherited from class com.taursys.util.ChainedException |
getInvalidMessage, main |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MultiModelParseException(java.util.List exceptionList)
exceptionList
- public MultiModelParseException(ModelParseException ex)
ex
- Method Detail |
public void add(ModelParseException ex)
ex
- public void add(MultiModelParseException ex)
ex
- public java.util.List getExceptionList()
public java.lang.String getFormatClass()
getFormatClass
in class ModelParseException
ModelParseException.getFormatClass()
public java.lang.String getFormatPattern()
getFormatPattern
in class ModelParseException
ModelParseException.getFormatPattern()
public java.lang.String getGivenValue()
getGivenValue
in class ModelParseException
ModelParseException.getGivenValue()
public java.lang.String getPropertyDataType()
getPropertyDataType
in class ModelParseException
ModelParseException.getPropertyDataType()
public java.lang.String getPropertyName()
getPropertyName
in class ModelParseException
ModelParseException.getPropertyName()
public java.lang.Throwable getCause()
getCause
in class ChainedException
Throwable.getCause()
public int getReason()
getReason
in class ChainedException
ChainedException.getReason()
public java.lang.String getDiagnosticInfo()
getDiagnosticInfo
in class ChainedException
ChainedException.getDiagnosticInfo()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class ChainedException
Throwable.getLocalizedMessage()
public java.lang.String getMessage()
Throwable.getMessage()
public java.lang.String getUserFriendlyMessage()
getUserFriendlyMessage
in class ChainedException
ChainedException.getUserFriendlyMessage()
public void printStackTrace()
printStackTrace
in class ChainedException
Throwable.printStackTrace()
public void printStackTrace(java.io.PrintStream printStream)
printStackTrace
in class ChainedException
Throwable.printStackTrace(java.io.PrintStream)
public void printStackTrace(java.io.PrintWriter printWriter)
printStackTrace
in class ChainedException
Throwable.printStackTrace(java.io.PrintWriter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |