Class SchemaValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.commons.BasicRuntimeException
org.apache.juneau.commons.httppart.SchemaValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when an HTTP part fails schema validation.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root cause of this exception.setMessage(String message, Object... args) Sets the detail message on this exception.Methods inherited from class org.apache.juneau.commons.BasicRuntimeException
getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchemaValidationException
Constructor.- Parameters:
message- TheString.format-style message (%s placeholders).args- OptionalString.format-style arguments.
-
-
Method Details
-
getRootCause
Returns the root cause of this exception.- Returns:
- The root cause of this exception.
-
setMessage
Description copied from class:BasicRuntimeExceptionSets the detail message on this exception.- Overrides:
setMessagein classBasicRuntimeException- Parameters:
message- The message.args- The message args.- Returns:
- This object.
-