Package com.mendix.systemwideinterfaces
Class MendixException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.mendix.systemwideinterfaces.MendixException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CoreException
Checked variant of the
MendixRuntimeException
. Use of this exception is not encouraged,
as occurrences of this exception will be turned into non-checked variants (e.g. MendixRuntimeException
).- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a checked Mendix exception without message.MendixException
(String message) Creates a checked Mendix exception with the specified message.MendixException
(String message, Throwable cause) Creates a checked Mendix exception with the specified message and cause.MendixException
(Throwable cause) Creates a checked Mendix exception without a message, with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MendixException
public MendixException()Creates a checked Mendix exception without message. -
MendixException
Creates a checked Mendix exception with the specified message.- Parameters:
message
- the error message
-
MendixException
Creates a checked Mendix exception with the specified message and cause. The stack trace is removed to conserve space, because it is already present in the cause.- Parameters:
message
- the error message of this exceptioncause
- the exception that caused this exception
-
MendixException
Creates a checked Mendix exception without a message, with the specified cause. The stack trace is removed to conserve space, because it is already present in the cause.- Parameters:
cause
- the exception that caused this exception
-