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.ActorDialogAction.java

/**
 * Constructor//w  ww . j a  v  a2 s  .c om
 * 
 * @param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public ActorDialogAction(TableauFrame parent) {
    super("");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "ActorDialogAction 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.AuthenticateAction.java

/**
 * Constructor/* w ww.jav  a2s . c o  m*/
 * 
 * @param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public AuthenticateAction(TableauFrame parent) {
    super("");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "AuthenticateAction 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.component.OpenCompositeAction.java

/**
 * Constructor//from w  ww . j ava  2 s. c o m
 * 
 *@param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public OpenCompositeAction(TableauFrame parent) {
    super("Open Archive (KAR)");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "OpenCompositeAction 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.CookbookAction.java

/**
 * Constructor//  ww  w .j a va2 s .co m
 * 
 * @param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public CookbookAction(TableauFrame parent) {
    super();
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "CookbookAction 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(GUIUtilities.MNEMONIC_KEY, MNEMONIC_KEY);
    this.putValue("tooltip", TOOLTIP);
    this.putValue(GUIUtilities.ACCELERATOR_KEY, ACCELERATOR_KEY);
}

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

/**
 * @param name/*  ww  w  .  j a v  a2  s  . co m*/
 */
public ActorUploaderAction(TableauFrame parent) {
    super("");

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

    initialize();
}

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

/**
 * Constructor//from ww w. j  ava  2 s.  c  om
 * 
 *@param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public DeleteArchiveAction(TableauFrame parent) {
    super("Open Archive (KAR)");
    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "OpenArchiveAction 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.ExportArchiveAction.java

/**
 * Constructor/*w  w  w. j a  va2 s.  c om*/
 * 
 * @param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public ExportArchiveAction(TableauFrame parent) {
    super("");

    //putValue(ACCELERATOR_KEY, ACCELERATOR_KEYSTROKE);

    _parent = parent;

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

    _localRepositoryManager = LocalRepositoryManager.getInstance();

    _savekar = new SaveKAR();

    initialize();
}

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

/**
 * Constructor/* w  w  w  .j ava 2 s .  c  om*/
 * 
 *@param parent
 *            the "frame" (derived from ptolemy.gui.Top) where the menu is
 *            being added.
 */
public ImportModuleDependenciesAction(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.kar.KarUploaderAction.java

/**
 * @param name//from w  ww .  j  a v  a  2s. com
 */
public KarUploaderAction(TableauFrame parent) {
    super("Upload");

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

    initialize();
}

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

/**
 * Constructor/*from  w ww.j  av a  2 s . c  om*/
 *
 * @param parent the "frame" (derived from ptolemy.gui.Top) where the menu is
 *               being added.
 */
public OpenArchiveAction(TableauFrame parent) {
    super("Open...");

    if (parent == null) {
        IllegalArgumentException iae = new IllegalArgumentException(
                "OpenArchiveAction 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_KEYSTROKE);
}