Package Framework

Examples of Framework.ImplementationException


        if (this.getMsgSetID() == Error.SVC_MSGSET_ID) {
            switch (this.getError()) {

                case Error.GEN_UNIMPLEMENTED: {
                    e = new ImplementationException();
                    if (this.getParam1() != null) {
                        this.setParam2(this.getParam1());
                        message = this.getCatalog().getString(this.getMsgSetID(), 2, this.getMessage(2));
                    }
                    if (this.getMethodName() == null) {
                        p1 = new TextData(this.getCatalog().getString(this.getMsgSetID(), 3, this.getMessage(3)));
                    }
                    else {
                        p1 = new TextData(this.getMethodName());
                    }

                    break;
                }
                case Error.B_CANT_DELETE: {
                    p1 = key;
                    p2 = status;

                    break;
                }
                case Error.B_CANT_UPDATE: {
                    p1 = key;
                    p2 = status;

                    break;
                }
                case Error.B_ILLEGAL_ATTR: {
                    p1 = key;

                    break;
                }
                case Error.B_INCONSISTENT_STATE: {
                    e = new ImplementationException();
                    p1 = key;
                    p2 = status;
                    if (this.getOriginator() != null && this.getOriginator() instanceof BusinessClass) {
                        if (((BusinessClass)this.getOriginator()).getUpdateQuery() == null) {
                            message = this.getCatalog().getString(this.getMsgSetID(), 8, this.getMessage(8));
View Full Code Here


     * <p>
     * @param key Type: BusinessKey
     * @return BusinessClass
     */
  public synchronized BusinessClass fetch(@Input BusinessKey key) {
        ImplementationException e = new ImplementationException();

        e.setWithParams(Constants.SP_ER_ERROR, new TextData("The method Cache.Fetch is unimplemented."));
        ErrorMgr.addError(e);

        throw e;
    }
View Full Code Here

     * because it conflicted with an attribute<p>
     * <p>
     * @param size Type: int
     */
  public synchronized void qq_setCacheSize(@Input int size) {
        ImplementationException e = new ImplementationException();

        e.setWithParams(Constants.SP_ER_ERROR, new TextData("The method CacheMgr.SetCacheSize is umimplemented."));
        ErrorMgr.addError(e);
        throw e;
    }
View Full Code Here

     * <p>
     * @param key Type: BusinessKey
     * @return BusinessClass
     */
  public synchronized BusinessClass fetch(@Input BusinessKey key) {
        ImplementationException e = new ImplementationException();

        e.setWithParams(Constants.SP_ER_ERROR, new TextData("The method Cache.Fetch is unimplemented."));
        ErrorMgr.addError(e);

        throw e;
    }
View Full Code Here

     * because it conflicted with an attribute<p>
     * <p>
     * @param size Type: int
     */
  public synchronized void qq_setCacheSize(@Input int size) {
        ImplementationException e = new ImplementationException();

        e.setWithParams(Constants.SP_ER_ERROR, new TextData("The method CacheMgr.SetCacheSize is umimplemented."));
        ErrorMgr.addError(e);
        throw e;
    }
View Full Code Here

        if (this.getMsgSetID() == Error.SVC_MSGSET_ID) {
            switch (this.getError()) {

                case Error.GEN_UNIMPLEMENTED: {
                    e = new ImplementationException();
                    if (this.getParam1() != null) {
                        this.setParam2(this.getParam1());
                        message = this.getCatalog().getString(this.getMsgSetID(), 2, this.getMessage(2));
                    }
                    if (this.getMethodName() == null) {
                        p1 = new TextData(this.getCatalog().getString(this.getMsgSetID(), 3, this.getMessage(3)));
                    }
                    else {
                        p1 = new TextData(this.getMethodName());
                    }

                    break;
                }
                case Error.B_CANT_DELETE: {
                    p1 = key;
                    p2 = status;

                    break;
                }
                case Error.B_CANT_UPDATE: {
                    p1 = key;
                    p2 = status;

                    break;
                }
                case Error.B_ILLEGAL_ATTR: {
                    p1 = key;

                    break;
                }
                case Error.B_INCONSISTENT_STATE: {
                    e = new ImplementationException();
                    p1 = key;
                    p2 = status;
                    if (this.getOriginator() != null && this.getOriginator() instanceof BusinessClass) {
                        if (((BusinessClass)this.getOriginator()).getUpdateQuery() == null) {
                            message = this.getCatalog().getString(this.getMsgSetID(), 8, this.getMessage(8));
View Full Code Here

TOP

Related Classes of Framework.ImplementationException

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.