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:
 Serializable
- Direct Known Subclasses:
 ExpressionSyntaxException,NoFocusNameSchemaException
public class SchemaException extends CommonException
Error regarding schema. E.g. Object class violation, missing object class, inconsistent schema, etc.- Author:
 - Radovan Semancik
 - See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.evolveum.midpoint.util.exception.CommonException
CommonException.Severity 
 - 
 
- 
Field Summary
- 
Fields inherited from class com.evolveum.midpoint.util.exception.CommonException
localizedUserFriendlyMessage, userFriendlyMessage 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SchemaException()SchemaException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorTypeMessage()Returns a human-readable message that describes the type or class of errors that the exception represents.QNamegetPropertyName()SchemaExceptionwrap(String context)Provides additional context information to the exception by creating a wrapping one.- 
Methods inherited from class com.evolveum.midpoint.util.exception.CommonException
getLocalizedMessage, getLocalizedUserFriendlyMessage, getMessage, getSeverity, getTechnicalMessage, getUserFriendlyMessage, setLocalizedUserFriendlyMessage, setTechnicalMessage, toString 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SchemaException
public SchemaException()
 
- 
SchemaException
public SchemaException(LocalizableMessage userFriendlyMessage, Throwable cause)
 
- 
SchemaException
public SchemaException(String message)
 
- 
SchemaException
public SchemaException(LocalizableMessage userFriendlyMessage)
 
 - 
 
- 
Method Detail
- 
getErrorTypeMessage
public String 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
public QName getPropertyName()
 
- 
wrap
@Experimental public SchemaException wrap(String context)
Provides additional context information to the exception by creating a wrapping one. 
 - 
 
 -