()
| 370 | } |
| 371 | |
| 372 | public void validate() throws org.apache.storm.thrift.TException { |
| 373 | // check for required fields |
| 374 | if (!is_set_bolt_object()) { |
| 375 | throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'bolt_object' is unset! Struct:" + toString()); |
| 376 | } |
| 377 | |
| 378 | if (!is_set_common()) { |
| 379 | throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString()); |
| 380 | } |
| 381 | |
| 382 | // check for sub-struct validity |
| 383 | if (common != null) { |
| 384 | common.validate(); |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { |
| 389 | try { |
nothing calls this directly
no test coverage detected