Examples of UNKNOWN


Examples of buri.ddmsence.ddms.resource.Unknown

          emails.add(readString("entity email #" + (i + 1) + " [testEmail" + (i + 1) + "]"));
        }

        // Skip optional extensible attributes.

        return (new Unknown(names, phones, emails));
      }
    });
    CONSTRUCTOR_BUILDERS.put(Keyword.class, new IConstructorBuilder() {
      public IDDMSComponent build() throws IOException, InvalidDDMSException {
        String keyword = readString("the keyword value [testValue]");
View Full Code Here

Examples of flash.swf.actions.Unknown

        return a;
    }

    private Unknown decodeUnknown(int opcode, int length) throws IOException
    {
        Unknown a = new Unknown(opcode);
        a.data = new byte[length];
        reader.readFully(a.data);
        return a;
    }
View Full Code Here

Examples of org.apache.bcel.classfile.Unknown

        Attribute[] classAttributes = m_javaClass.getAttributes();
        for (int i = 0; i < classAttributes.length; i++) {

            if (classAttributes[i] instanceof Unknown) {
                Unknown unknownAttrib = (Unknown)classAttributes[i];
                byte[] serializedAttribute = unknownAttrib.getBytes();
                try {
                    Object attribute = new ObjectInputStream(new ByteArrayInputStream(serializedAttribute)).readObject();
                    attributes.add(attribute);
                }
                catch (Exception e) {
View Full Code Here

Examples of org.aspectj.apache.bcel.classfile.Unknown

    // first pass, look for version
    List<Unknown> forSecondPass = new ArrayList<Unknown>();
    for (int i = as.length - 1; i >= 0; i--) {
      Attribute a = as[i];
      if (a instanceof Unknown) {
        Unknown u = (Unknown) a;
        String name = u.getName();
        if (name.charAt(0) == 'o') { // 'o'rg.aspectj
          if (name.startsWith(AjAttribute.AttributePrefix)) {
            if (name.endsWith(WeaverVersionInfo.AttributeName)) {
              version = (AjAttribute.WeaverVersionInfo) AjAttribute.read(version, name, u.getBytes(), context, w,
                  dataDecompressor);
              if (version.getMajorVersion() > WeaverVersionInfo.getCurrentWeaverMajorVersion()) {
                throw new BCException(
                    "Unable to continue, this version of AspectJ supports classes built with weaver version "
                        + WeaverVersionInfo.toCurrentVersionString() + " but the class " + classname
                        + " is version " + version.toString() + ".  Please update your AspectJ.");
              }
            }
            forSecondPass.add(u);
          }
        }
      }
    }

    // FIXASC why going backwards? is it important
    for (int i = forSecondPass.size() - 1; i >= 0; i--) {
      Unknown a = forSecondPass.get(i);
      String name = a.getName();
      AjAttribute attr = AjAttribute.read(version, name, a.getBytes(), context, w, dataDecompressor);
      if (attr != null) {
        attributes.add(attr);
      }
    }
    return attributes;
View Full Code Here

Examples of org.aspectj.apache.bcel.classfile.Unknown

  public static Attribute bcelAttribute(AjAttribute a, ConstantPool pool) {
    int nameIndex = pool.addUtf8(a.getNameString());
    byte[] bytes = a.getBytes(new BcelConstantPoolWriter(pool));
    int length = bytes.length;

    return new Unknown(nameIndex, length, bytes, pool);
  }
View Full Code Here

Examples of org.kc7bfi.jflac.metadata.Unknown

        } else if (type == Metadata.METADATA_TYPE_CUESHEET) {
      metadata = new CueSheet(bitStream, length, isLast);
  } else if (type == Metadata.METADATA_TYPE_PICTURE) {
      metadata = new Picture(bitStream, length, isLast);
        } else {
            metadata = new Unknown(bitStream, length, isLast);
        }
        frameListeners.processMetadata(metadata);
        //if (isLast) state = DECODER_SEARCH_FOR_FRAME_SYNC;
        return metadata;
    }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

            Object id = ReferenceData.extractServantId(oid);
            return (Servant)transientServantMap.get(id);
         }
         catch (Exception e) {
            log.trace("Unexpected exception in preinvoke:", e);
            throw new UNKNOWN(e.toString());
         }
      }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

            Object id = ReferenceData.extractServantId(oid);
            return (Servant)persistentServantMap.get(id);
         }
         catch (Exception e) {
            log.trace("Unexpected exception in preinvoke:", e);
            throw new UNKNOWN(e.toString());
         }
      }
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

                log.debug("Error", e);
                RemoteException remoteException = new RemoteException(e.getClass().getName() + " thrown from " + ejbDeployment.getDeploymentId() + ": " + e.getMessage());
                throw new UnknownException(remoteException);
            } catch (Throwable e) {
                log.warn("Unexpected throwable", e);
                throw new UNKNOWN("Unknown exception type " + e.getClass().getName() + ": " + e.getMessage());
            }

            // creat the output stream
            org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
View Full Code Here

Examples of org.omg.CORBA.UNKNOWN

            } catch (MarshalException e) {
                log.debug("MarshalException", e);
                throw new MARSHAL(e.toString());
            } catch (RemoteException e) {
                log.debug("RemoteException", e);
                throw new UNKNOWN(e.toString());
            } finally {
                Thread.currentThread().setContextClassLoader(savedCL);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.