Class OrgModelException

  • All Implemented Interfaces:
    Serializable

    public class OrgModelException
    extends RuntimeException
    An OrgModelException can be thrown for various reasons by ModelExplorer and ModelChangeOperations, ranging from trying to use deactivated entity types to trying to access attributes that don't exist.

    The OrgModelException is a runtime exception because it's generally possible to avoid all of them with careful programming. In cases where the model is modified while others are (read) accessing it, OrgModelExceptions might be thrown anyway. So it should be considered to catch them in any case, just to be sure.

    Author:
    Patrick Schmidt
    See Also:
    Serialized Form
    • Constructor Detail

      • OrgModelException

        public OrgModelException()
        Constructs a new OrgModelException with null. as detail message.
      • OrgModelException

        public OrgModelException​(String message)
        Constructs a new OrgModelException with the given detail message.
        Parameters:
        message - the detail message
      • OrgModelException

        public OrgModelException​(String message,
                                 Throwable cause)
        Constructs a new OrgModelException with null. as detail message and the given cause.
        Parameters:
        message - the detail message
        cause - the cause of this exception
      • OrgModelException

        public OrgModelException​(Throwable cause)
        Constructs a new DataSourceException with null as detail message and the given cause.
        Parameters:
        cause - the cause of this exception