Example usage for java.lang IllegalArgumentException fillInStackTrace

List of usage examples for java.lang IllegalArgumentException fillInStackTrace

Introduction

In this page you can find the example usage for java.lang IllegalArgumentException fillInStackTrace.

Prototype

public synchronized Throwable fillInStackTrace() 

Source Link

Document

Fills in the execution stack trace.

Usage

From source file:org.kepler.gui.kar.RefreshFolderAction.java

/**
 * Constructor/*  www.  j a  v  a  2 s  .com*/
 * 
 *@param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public RefreshFolderAction(TableauFrame parent) {
    super("Refresh");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "RefreshFolderAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }
    this.parent = parent;

    this.putValue(Action.NAME, DISPLAY_NAME);
    this.putValue(GUIUtilities.LARGE_ICON, LARGE_ICON);
    this.putValue("tooltip", TOOLTIP);
    this.putValue(GUIUtilities.ACCELERATOR_KEY, ACCELERATOR_KEY);
}

From source file:org.kepler.gui.kar.ViewManifestAction.java

/**
 * Constructor//from ww w.ja va 2 s .c  om
 * 
 *@param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public ViewManifestAction(TableauFrame parent) {
    super(DISPLAY_NAME);
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "ViewManifestAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }
    this.parent = parent;

    this.putValue(Action.NAME, DISPLAY_NAME);
    this.putValue(GUIUtilities.LARGE_ICON, LARGE_ICON);
    this.putValue("tooltip", TOOLTIP);
    this.putValue(GUIUtilities.ACCELERATOR_KEY, ACCELERATOR_KEY);
}

From source file:org.kepler.gui.lsid.LibLsidViewerAction.java

public LibLsidViewerAction(TableauFrame parent) {
    super(LABEL);

    _parent = parent;//w  ww  .j  a  va 2 s .c  om

    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "ExportArchiveAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }

    this.putValue("tooltip", "Open the LSID Viewer Dialog.");
}

From source file:org.kepler.gui.lsid.LSIDViewerAction.java

public LSIDViewerAction(TableauFrame parent) {
    super(LABEL);

    _parent = parent;//from  w ww  . j a  va2 s  . co  m

    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "ExportArchiveAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }

    this.putValue("tooltip", "Open the LSID Viewer Dialog.");
}

From source file:org.kepler.gui.PreviewActorAction.java

/**
 * Constructor//from  w w  w .ja  va2  s.  co m
 * 
 * @param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public PreviewActorAction(TableauFrame parent) {
    super("");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "PreviewActorAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }
    this.parent = parent;

    this.putValue(Action.NAME, DISPLAY_NAME);
    this.putValue(GUIUtilities.LARGE_ICON, LARGE_ICON);
    this.putValue("tooltip", TOOLTIP);
    this.putValue(GUIUtilities.ACCELERATOR_KEY, ACCELERATOR_KEY);
}

From source file:org.kepler.gui.RemoveCustomKeplerDocumentationAction.java

public RemoveCustomKeplerDocumentationAction(TableauFrame parent) {
    super("Remove Custom Kepler Documentation");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "RemoveCustomKeplerDocumentationAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }//from   ww w  .ja  v  a2s.  c o  m
    this.parent = parent;
}

From source file:org.kepler.gui.RenameComponentEntityAction.java

public RenameComponentEntityAction(TableauFrame parent) {
    super(LABEL);

    _parent = parent;// w  w  w.j  a v a  2  s  .c om

    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "RenameComponentEntityAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }

    this.putValue("tooltip", "Open the Rename Component Entity Dialog.");
}

From source file:org.kepler.gui.RunWithFeedbackChkBoxAction.java

/**
 * Constructor//from ww w. ja v  a  2 s .  c  o  m
 * 
 * @param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public RunWithFeedbackChkBoxAction(TableauFrame parent) {
    super("");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "RunWithFeedbackChkBoxAction constructor received NULL argument for TableauFrame");
        iae.fillInStackTrace();
        throw iae;
    }
    this.putValue(Action.NAME, DISPLAY_NAME);
    this.putValue(GUIUtilities.LARGE_ICON, LARGE_ICON);
    this.putValue(GUIUtilities.MNEMONIC_KEY, MNEMONIC_KEY);
    this.putValue("tooltip", TOOLTIP);
    this.putValue(GUIUtilities.ACCELERATOR_KEY, ACCELERATOR_KEY);
}