|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sap.engine.services.servlets_jsp.lib.multipart.MultipartParseException
Throwing an instance of this exception indicates problems in parsing multipart http messages. The reason could be missing boundaries, headers, etc. in the multipart message or its submessages that impedes correct parsing the message.
| Field Summary | |
static java.lang.String |
BOUNDARY_NOT_FOUND
Incorrect Content-Type header. |
static java.lang.String |
CONTENT_TYPE_HEADER_NOT_FOUND
Content-Type header not found or has no value. |
static java.lang.String |
FINAL_BOUNDARY_NOT_FOUND
Final boundary not found. |
static java.lang.String |
HEADER_VALUE_NOT_FOUND
Incorrect request header: [{0}]. |
static java.lang.String |
NO_SUCH_MULTIPART_PART
No such MultipartMessage part. |
static java.lang.String |
START_BOUNDARY_NOT_FOUND
Start boundary not found. |
| Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
| Constructor Summary | |
MultipartParseException(java.lang.String msg)
Creates an instance of this exception with a specified error message. |
|
MultipartParseException(java.lang.String msg,
java.lang.Object[] parameters)
Creates an instance of this exception with a specified error message. |
|
MultipartParseException(java.lang.String msg,
java.lang.Object[] parameters,
java.lang.Throwable linkedException)
Creates an instance of this exception with a specified error message and linked exception. |
|
MultipartParseException(java.lang.String msg,
java.lang.Throwable linkedException)
Creates an instance of this exception with a specified error message and linked exception. |
|
| Method Summary | |
void |
finallyLocalize()
|
void |
finallyLocalize(java.util.Locale loc)
|
void |
finallyLocalize(java.util.Locale loc,
java.util.TimeZone timeZone)
|
void |
finallyLocalize(java.util.TimeZone timeZone)
|
java.lang.Throwable |
getCause()
Returns the cause of the error of this exception. |
com.sap.localization.LocalizableText |
getLocalizableMessage()
|
java.lang.String |
getLocalizedMessage()
|
java.lang.String |
getLocalizedMessage(java.util.Locale loc)
|
java.lang.String |
getLocalizedMessage(java.util.Locale loc,
java.util.TimeZone timeZone)
|
java.lang.String |
getLocalizedMessage(java.util.TimeZone timeZone)
|
java.lang.String |
getNestedLocalizedMessage()
|
java.lang.String |
getNestedLocalizedMessage(java.util.Locale loc)
|
java.lang.String |
getNestedLocalizedMessage(java.util.Locale loc,
java.util.TimeZone timeZone)
|
java.lang.String |
getNestedLocalizedMessage(java.util.TimeZone timeZone)
|
java.lang.String |
getNestedStackTraceString()
|
java.lang.String |
getStackTraceString()
|
java.lang.String |
getSystemStackTraceString()
|
java.lang.Throwable |
initCause(java.lang.Throwable cause)
|
void |
log()
Logs the exception message. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream s)
|
void |
printStackTrace(java.io.PrintWriter s)
|
void |
setLogSettings(com.sap.tc.logging.Category cat,
int severity,
com.sap.tc.logging.Location loc)
Setter method for logging information. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getMessage, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String NO_SUCH_MULTIPART_PART
public static final java.lang.String CONTENT_TYPE_HEADER_NOT_FOUND
public static final java.lang.String BOUNDARY_NOT_FOUND
public static final java.lang.String START_BOUNDARY_NOT_FOUND
public static final java.lang.String HEADER_VALUE_NOT_FOUND
public static final java.lang.String FINAL_BOUNDARY_NOT_FOUND
| Constructor Detail |
public MultipartParseException(java.lang.String msg)
msg - The message of the exception
public MultipartParseException(java.lang.String msg,
java.lang.Object[] parameters)
msg - The message of the exceptionparameters - Exception message parameters that will be inserted into its message
public MultipartParseException(java.lang.String msg,
java.lang.Throwable linkedException)
msg - The message of the exceptionlinkedException - The exception linked with this one
public MultipartParseException(java.lang.String msg,
java.lang.Object[] parameters,
java.lang.Throwable linkedException)
msg - The message of the exceptionparameters - Exception message parameters that will be inserted into its messagelinkedException - The exception linked with this one| Method Detail |
public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause in interface com.sap.exception.IBaseExceptionpublic java.lang.Throwable getCause()
getCause in interface com.sap.exception.IBaseExceptionpublic com.sap.localization.LocalizableText getLocalizableMessage()
getLocalizableMessage in interface com.sap.exception.IBaseExceptionpublic java.lang.String getLocalizedMessage()
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class java.lang.Throwablepublic java.lang.String getLocalizedMessage(java.util.Locale loc)
getLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic java.lang.String getLocalizedMessage(java.util.TimeZone timeZone)
getLocalizedMessage in interface com.sap.exception.IBaseException
public java.lang.String getLocalizedMessage(java.util.Locale loc,
java.util.TimeZone timeZone)
getLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic java.lang.String getNestedLocalizedMessage()
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic java.lang.String getNestedLocalizedMessage(java.util.Locale loc)
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic java.lang.String getNestedLocalizedMessage(java.util.TimeZone timeZone)
getNestedLocalizedMessage in interface com.sap.exception.IBaseException
public java.lang.String getNestedLocalizedMessage(java.util.Locale loc,
java.util.TimeZone timeZone)
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic void finallyLocalize()
finallyLocalize in interface com.sap.exception.IBaseExceptionpublic void finallyLocalize(java.util.Locale loc)
finallyLocalize in interface com.sap.exception.IBaseExceptionpublic void finallyLocalize(java.util.TimeZone timeZone)
finallyLocalize in interface com.sap.exception.IBaseException
public void finallyLocalize(java.util.Locale loc,
java.util.TimeZone timeZone)
finallyLocalize in interface com.sap.exception.IBaseExceptionpublic java.lang.String getSystemStackTraceString()
getSystemStackTraceString in interface com.sap.exception.IBaseExceptionpublic java.lang.String getStackTraceString()
getStackTraceString in interface com.sap.exception.IBaseExceptionpublic java.lang.String getNestedStackTraceString()
getNestedStackTraceString in interface com.sap.exception.IBaseExceptionpublic void printStackTrace()
printStackTrace in interface com.sap.exception.IBaseExceptionprintStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in interface com.sap.exception.IBaseExceptionprintStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in interface com.sap.exception.IBaseExceptionprintStackTrace in class java.lang.Throwable
public void setLogSettings(com.sap.tc.logging.Category cat,
int severity,
com.sap.tc.logging.Location loc)
setLogSettings in interface com.sap.exception.IBaseExceptioncat - logging categoryseverity - logging severityloc - logging locationpublic void log()
log in interface com.sap.exception.IBaseException
|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||