@Override public void write(DataOutput out) throws IOException { if (owner.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("owner is too long to be serialized!"); } if (renewer.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("renewer is too long to be serialized!"); } if (realUser.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("realuser is too long to be serialized!"); } writeImpl(out); }
@Override public void write(DataOutput out) throws IOException { if (owner.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("owner is too long to be serialized!"); } if (renewer.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("renewer is too long to be serialized!"); } if (realUser.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("realuser is too long to be serialized!"); } writeImpl(out); }
@Override public void write(DataOutput out) throws IOException { if (owner.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("owner is too long to be serialized!"); } if (renewer.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("renewer is too long to be serialized!"); } if (realUser.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("realuser is too long to be serialized!"); } writeImpl(out); }
@Override public void write(DataOutput out) throws IOException { if (owner.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("owner is too long to be serialized!"); } if (renewer.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("renewer is too long to be serialized!"); } if (realUser.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("realuser is too long to be serialized!"); } writeImpl(out); }
@Override public void write(DataOutput out) throws IOException { if (owner.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("owner is too long to be serialized!"); } if (renewer.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("renewer is too long to be serialized!"); } if (realUser.getLength() > Text.DEFAULT_MAX_LEN) { throw new IOException("realuser is too long to be serialized!"); } writeImpl(out); }