Class MendixException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CoreException

    public class MendixException
    extends java.lang.Exception
    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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MendixException()
      Creates a checked Mendix exception without message.
      MendixException​(java.lang.String message)
      Creates a checked Mendix exception with the specified message.
      MendixException​(java.lang.String message, java.lang.Throwable cause)
      Creates a checked Mendix exception with the specified message and cause.
      MendixException​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MendixException

        public MendixException()
        Creates a checked Mendix exception without message.
      • MendixException

        public MendixException​(java.lang.String message)
        Creates a checked Mendix exception with the specified message.
        Parameters:
        message - the error message
      • MendixException

        public MendixException​(java.lang.String message,
                               java.lang.Throwable cause)
        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 exception
        cause - the exception that caused this exception
      • MendixException

        public MendixException​(java.lang.Throwable cause)
        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