Package resources

Class CoreComponents.MissingCoreComponentException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    CoreComponents

    public static class CoreComponents.MissingCoreComponentException
    extends java.lang.RuntimeException
    The exception that is thrown when a requested core component is missing and cannot be installed due to an error or the user cancelling the installation. This is an unchecked exception. It will generally only be thrown during one of two processes: while creating a new component through NewEditorDialog.createEditorFromClassMapKey(java.lang.String) or when loading a component from disk using ResourceKit.getGameComponentFromFile(java.io.File), both of which already catch and handle this exception. If you write plug-in code that checks for required components outside of new component creation/component loading, then make sure that you handle this exception.
    See Also:
    Serialized Form
    • 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

      • MissingCoreComponentException

        public MissingCoreComponentException​(java.lang.String s)