Package Framework

Examples of Framework.UsageException


     * setValue<p>
     * <p>
     * @param source Type: DataValue
     */
    public void setValue(DataValue source) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }
View Full Code Here


     * setValue<p>
     * <p>
     * @param source Type: BinaryData
     */
    public void setValue(BinaryData source) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }
View Full Code Here

     * setValue<p>
     * <p>
     * @param source Type: int
     */
    public void setValue(int source) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }
View Full Code Here

     * setValue<p>
     * <p>
     * @param source Type: double
     */
    public void setValue(double source) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }
View Full Code Here

     * setValue<p>
     * <p>
     * @param source Type: boolean
     */
    public void setValue(boolean source) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }
View Full Code Here

     * setValue<p>
     * <p>
     * @param source Type: Document
     */
    public void setValue(Document source) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }
View Full Code Here

            int oldValue = cellGravity;
            cellGravity = pCellGravity;
            firePropertyChange("cellGravity", oldValue, cellGravity);
            break;
        default:
            UsageException errorVar = new UsageException("Cell gravity passed invalid value of " + pCellGravity);
            ErrorMgr.addError(errorVar);
            throw errorVar;
        }
    }
View Full Code Here

            case Constants.IP_EXPAND_ROWS:
                // These doesn't seem to be supported in Forte, so do nothing
                break;

            default:
                UsageException errorVar = new UsageException("insert policy of " + pInsertPolicy + " is not supported");
                ErrorMgr.addError(errorVar);
                throw errorVar;
        }
    }
View Full Code Here

            int oldValue = horzDividerStyle;
            horzDividerStyle = pHorzDivideStyle;
            firePropertyChange("horzDividerStyle", oldValue, pHorzDivideStyle);
            break;
        default:
            UsageException errorVar = new UsageException("Invalid parameter "+pHorzDivideStyle);
            ErrorMgr.addError(errorVar);
            throw errorVar;
        }
    }
View Full Code Here

            int oldValue = vertDividerStyle;
            vertDividerStyle = pVertDivideStyle;
            firePropertyChange("vertDividerStyle", oldValue, pVertDivideStyle);
            break;
        default:
            UsageException errorVar = new UsageException("Invalid parameter " + pVertDivideStyle);
            ErrorMgr.addError(errorVar);
            throw errorVar;
        }
    }
View Full Code Here

TOP

Related Classes of Framework.UsageException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.