Java 类org.apache.hadoop.yarn.proto.YarnProtos.SerializedExceptionProtoOrBuilder 实例源码

项目:hadoop    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Exception.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:aliyun-oss-hadoop-fs    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Throwable.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:big-c    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Exception.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Exception.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:hadoop-plus    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Exception.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:hops    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Throwable.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:hadoop-TCP    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Exception.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:hardfs    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Exception.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:hadoop-on-lustre2    文件:SerializedExceptionPBImpl.java   
@SuppressWarnings("unchecked")
@Override
public Throwable deSerialize() {

  SerializedException cause = getCause();
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  Class<?> realClass = null;
  try {
    realClass = Class.forName(p.getClassName());
  } catch (ClassNotFoundException e) {
    throw new YarnRuntimeException(e);
  }
  Class classType = null;
  if (YarnException.class.isAssignableFrom(realClass)) {
    classType = YarnException.class;
  } else if (IOException.class.isAssignableFrom(realClass)) {
    classType = IOException.class;
  } else if (RuntimeException.class.isAssignableFrom(realClass)) {
    classType = RuntimeException.class;
  } else {
    classType = Exception.class;
  }
  return instantiateException(realClass.asSubclass(classType), getMessage(),
    cause == null ? null : cause.deSerialize());
}
项目:hadoop    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:aliyun-oss-hadoop-fs    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:big-c    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:hadoop-plus    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:hops    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:hadoop-TCP    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:hardfs    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:hadoop-on-lustre2    文件:SerializedExceptionPBImpl.java   
@Override
public SerializedException getCause() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  if (p.hasCause()) {
    return new SerializedExceptionPBImpl(p.getCause());
  } else {
    return null;
  }
}
项目:hadoop    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:hadoop    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:aliyun-oss-hadoop-fs    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:aliyun-oss-hadoop-fs    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:big-c    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:big-c    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:hadoop-2.6.0-cdh5.4.3    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:hadoop-plus    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:hadoop-plus    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:hops    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:hops    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:hadoop-TCP    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:hadoop-TCP    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:hardfs    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:hardfs    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}
项目:hadoop-on-lustre2    文件:SerializedExceptionPBImpl.java   
@Override
public String getMessage() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getMessage();
}
项目:hadoop-on-lustre2    文件:SerializedExceptionPBImpl.java   
@Override
public String getRemoteTrace() {
  SerializedExceptionProtoOrBuilder p = viaProto ? proto : builder;
  return p.getTrace();
}