public class UserException extends MendixRuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
UserException.ExceptionCategory |
Constructor and Description |
---|
UserException(DataValidationInfo dvInfo)
Create a new UserException (data validation)
|
UserException(UserException.ExceptionCategory category,
java.lang.String message)
Creates new UserException
|
UserException(UserException.ExceptionCategory category,
java.lang.String message,
java.lang.Throwable cause)
Creates new UserException
|
UserException(UserException.ExceptionCategory category,
java.lang.Throwable cause)
Creates new UserException
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
fillInStackTrace()
Prevents this exception from generating a stack trace.
|
UserException.ExceptionCategory |
getCategory() |
DataValidationInfo |
getDataValidationFeedback() |
java.lang.String |
toString()
Returns data-validation instead of default message in case of ExceptionCategory.DataValidation
|
public UserException(UserException.ExceptionCategory category, java.lang.String message)
message
- the exception message.category
- the exception category.public UserException(UserException.ExceptionCategory category, java.lang.Throwable cause)
cause
- the exception cause.category
- the exception category.public UserException(UserException.ExceptionCategory category, java.lang.String message, java.lang.Throwable cause)
message
- the exception message.cause
- the exception cause.category
- the exception category.public UserException(DataValidationInfo dvInfo)
dvInfo
- the data validation info.public UserException.ExceptionCategory getCategory()
public DataValidationInfo getDataValidationFeedback()
public java.lang.Throwable fillInStackTrace()
fillInStackTrace
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable