public class UserException extends MendixRuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
UserException.ExceptionCategory |
Constructor and Description |
---|
UserException(com.mendix.core.objectmanagement.DataValidationInfo dvInfo)
Create a new UserException (data validation)
|
UserException(UserException.ExceptionCategory category,
String message)
Creates new UserException
|
UserException(UserException.ExceptionCategory category,
String message,
Throwable cause)
Creates new UserException
|
UserException(UserException.ExceptionCategory category,
Throwable cause)
Creates new UserException
|
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace()
Prevents this exception from generating a stack trace.
|
UserException.ExceptionCategory |
getCategory() |
com.mendix.core.objectmanagement.DataValidationInfo |
getDataValidationFeedback() |
String |
toString()
Returns data-validation instead of default message in case of ExceptionCategory.DataValidation
|
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public UserException(UserException.ExceptionCategory category, String message)
message
- the exception message.category
- the exception category.public UserException(UserException.ExceptionCategory category, Throwable cause)
cause
- the exception cause.category
- the exception category.public UserException(UserException.ExceptionCategory category, String message, Throwable cause)
message
- the exception message.cause
- the exception cause.category
- the exception category.public UserException(com.mendix.core.objectmanagement.DataValidationInfo dvInfo)
dvInfo
- the data validation info.public UserException.ExceptionCategory getCategory()
public com.mendix.core.objectmanagement.DataValidationInfo getDataValidationFeedback()
public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable