Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.evolveum.midpoint.util.exception.CommonException
com.evolveum.midpoint.util.exception.SchemaException
- All Implemented Interfaces:
SeverityAwareException,Serializable
- Direct Known Subclasses:
ExpressionSyntaxException,NoFocusNameSchemaException
Error regarding schema.
E.g. Object class violation, missing object class, inconsistent schema, etc.
- Author:
- Radovan Semancik
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.util.exception.SeverityAwareException
SeverityAwareException.Severity -
Field Summary
Fields inherited from class com.evolveum.midpoint.util.exception.CommonException
localizedUserFriendlyMessage, userFriendlyMessage -
Constructor Summary
ConstructorsConstructorDescriptionSchemaException(LocalizableMessage userFriendlyMessage) SchemaException(LocalizableMessage userFriendlyMessage, Throwable cause) SchemaException(String message) SchemaException(String message, Throwable cause) SchemaException(String message, Throwable cause, QName propertyName) SchemaException(String message, QName propertyName) -
Method Summary
Modifier and TypeMethodDescriptionReturns a human-readable message that describes the type or class of errors that the exception represents.static SchemaExceptionProvides additional context information to the exception by creating a wrapping one.Methods inherited from class com.evolveum.midpoint.util.exception.CommonException
getLocalizedMessage, getLocalizedUserFriendlyMessage, getMessage, getTechnicalMessage, getUserFriendlyMessage, setLocalizedUserFriendlyMessage, setTechnicalMessage, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.exception.SeverityAwareException
getSeverity
-
Constructor Details
-
SchemaException
public SchemaException() -
SchemaException
-
SchemaException
-
SchemaException
-
SchemaException
-
SchemaException
-
SchemaException
-
-
Method Details
-
of
-
getErrorTypeMessage
Description copied from class:CommonExceptionReturns a human-readable message that describes the type or class of errors that the exception represents. E.g. "Communication error", "Policy violation", etc. TODO: switch return value to a localized message- Specified by:
getErrorTypeMessagein classCommonException
-
getPropertyName
-
wrap
Provides additional context information to the exception by creating a wrapping one.
-