void ensureCondition ( boolean condition , String messageFormat , Object ... args ) throws SerializationException { if ( ! condition ) { throw new SerializationException ( String . format ( messageFormat , args ) ) ; } }
Verifies that the given condition is true . If not throws a SerializationException .